Sahih Muslim Book 4, Hadith Number 1932.

Chapter : Permissibility of women’s going out on ‘Id days towards the place of worship and their presence in the Khutba (sitting) at a distance from men.

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.