Muhammad bin Sirin (may Allah have mercy on him) narrates from Umm Atiyyah (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) commanded us: "We should bring out the young women and the secluded women too on the two Eids, and he commanded the menstruating women to keep away from the place of Eid prayer."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة العيدين / 6239