Sahih Bukhari
The Two Festivals (Eids)
Volume: 002 / Book Number: 015 / Hadith Number: 88
Narrated Um 'Atiya:
We used to be ordered to come out on the Day of 'Id and even bring out the virgin girls from their houses and menstruating women so that they might stand behind the men and say Takbir along with them and invoke Allah along with them and hope for the blessings of that day and for purification from sins.