Bulugh al-Maram
Book 2, Hadith 415
وَعَنْ أُمِّ عَطِيَّةَ قَالَتْ: { أُمِرْنَا أَنْ نُخْرِجَ اَلْعَوَاتِقَ, وَالْحُيَّضَ فِي الْعِيدَيْنِ; يَشْهَدْنَ الْخَيْرَ وَدَعْوَةَ اَلْمُسْلِمِينَ, وَيَعْتَزِلُ اَلْحُيَّضُ اَلْمُصَلَّى } مُتَّفَقٌ عَلَيْهِ 1 .1 - صحيح. رواه البخاري (324)، ومسلم (890) مع مراعاة أن الحافظ قد تصرف في اللفظ.
Umm Atiyyah reported: We were commanded to bring out the young unmarried women and menstruating women for the two Eid prayers, so they could witness the good and the supplication of the Muslims; menstruating women were to keep apart from the prayer area. Agreed upon. Al-Bukhari (324) and Muslim (890). The wording has been adapted by the compiler.
Translation notes
The report distinguishes attendance to witness the communal gathering from joining the prayer itself; menstruating women stay apart from the prayer area.