Umm Atiya reported,

She said, meaning that the Prophet ﷺ commanded us to bring out on the two Eids the young women of marriageable age and those kept in seclusion, and he commanded the menstruating women to keep away from the prayer area of the Muslims.

Muslim 2054

Sahih

حدثني أبو الربيع الزهراني حدثنا حماد حدثنا أيوب عن محمد

عن أم عطية قالت

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

مسلم 2054صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Eid prayer
Chapter
Permissibility of women going out on the two Eids to the prayer place and attending the sermon separately from men
Numbering
Darussalam 2054
Muslim 2054