It wasnarrated that Umm 'Atiyyah said:
"The Messenger of Allah (ﷺ)said: 'Bring out the women who have attained puberty and those whoare in seclusion so that they may attend the 'Eid prayer and (joinin) the supplication of the Muslims. But let the women who aremenstruating avoid the prayer place."
English reference: Vol. 1, Book 5, Hadith 1308
Arabic reference: Book 5, Hadith 1368