Umm Atiya reported,

She was asked, "Did you hear this from the Prophet ﷺ?" Whenever she mentioned him, she would say, "May my father be sacrificed for him."She replied, "He said, 'Bring out the young women and those kept behind curtains so they may witness the Eid and the supplication of the Muslims, but let the menstruating women keep away from the people's prayer area.'"

Nasai 1560

Sahih

أخبرنا قتيبة قال حدثنا سفيان عن أيوب عن محمد قال لقيت

أم عطية فقلت

لها هل سمعت من النبي ﷺ وكانت إذا ذكرته قالت بأبا قال أخرجوا العواتق وذوات الخدور فيشهدن العيد ودعوة المسلمين وليعتزل الحيض مصلى الناس

النسائي 1560صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Eid prayer
Chapter
Menstruating women staying away from the prayer area
Numbering
Darussalam 1560
Nasai 1560