(1) باب ذِكْرِ إِبَاحَةِ خُرُوجِ النِّسَاءِ فِي الْعِيدَيْنِ إِلَى الْمُصَلَّى وَشُهُودِ الْخُطْبَةِ مُفَارِقَاتٌ لِلرِّجَالِ
Umm 'Atiyya said:
He (the Messenger 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.
Reference: Sahih Muslim 890 a
In-book reference: Book 8, Hadith 10
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1932