The Book of Prayer - Two Eids
حَدَّثَنِي أَبُو الرَّبِيعِ الزَّهْرَانِيُّ، حَدَّثَنَا حَمَّادٌ، حَدَّثَنَا أَيُّوبُ، عَنْ مُحَمَّدٍ، عَنْ أُمِّ عَطِيَّةَ، قَالَتْ أَمَرَنَا - تَعْنِي النَّبِيَّ صلى الله عليه وسلم - أَنْ نُخْرِجَ فِي الْعِيدَيْنِ الْعَوَاتِقَ وَذَوَاتِ الْخُدُورِ وَأَمَرَ الْحُيَّضَ أَنْ يَعْتَزِلْنَ مُصَلَّى الْمُسْلِمِينَ .Umm 'Atiyya said:He (the Messenger of Allah) commanded us that we should take out unmarried women and the screened away ladies for 'Id prayers, and he commanded the menstruating women to remain away from the place of worship of the Muslims
From Sahih Muslim, whose reports the scholars accept as authentic.