Sahih Muslim – Hadith No : 2091

Umm ‘Atiyya said: He (the Apostle of Allah) commanded us that we should take out unmarried women and purdah-observing ladies for ‘Id prayers, and he commanded the menstruating women to remain away from the place of worship of the Muslims.

Hadith In Arabic Text :

حدثني أبو الربيع الزهراني، حدثنا حماد، حدثنا أيوب، عن محمد، عن أم عطية، قالت أمرنا – تعني النبي صلى الله عليه وسلم – أن نخرج في العيدين العواتق وذوات الخدور وأمر الحيض أن يعتزلن مصلى المسلمين ‏.‏

Chapter : The Book of Prayer (Two Eids) – كتاب صلاة العيدين