(1) باب ذِكْرِ إِبَاحَةِ خُرُوجِ النِّسَاءِ فِي الْعِيدَيْنِ إِلَى الْمُصَلَّى وَشُهُودِ الْخُطْبَةِ مُفَارِقَاتٌ لِلرِّجَالِ
Umm Atiyya reported:
We were commanded to bring out on old days purdah-observing ladies and those unmarried, and menstruating women came out but remained behind people and pronounced takbir (Allah-o-Akbar) along with them.
Reference: Sahih Muslim 890 b
In-book reference: Book 8, Hadith 11
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1933