It was narrated that Umm ‘Atiyyah said:“The Messenger of Allah (ﷺ) said: ‘Bring out the women who have attained puberty and those who are in seclusion so that they may attend the ‘Eid prayer and (join in) the supplication of the Muslims. But let the women who are menstruating avoid the prayer place.”
Hadith No. 1308
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih - Bukhari And Muslim