Sayyidah Umm Atiyyah (may Allah be pleased with her) said: The Messenger of Allah (peace and blessings be upon him) commanded us to go out on the day of the two Eids, so much so that even the young girls and the unmarried maidens would go out. Hafsah said: A woman asked Umm Atiyyah (may Allah be pleased with her): And the menstruating women? She said: The menstruating women would also go out, but they would keep away from the place of prayer and remember Allah.
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21594