Hadith 1308
حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، أَنْبَأَنَا سُفْيَانُ، عَنْ أَيُّوبَ، عَنِ ابْنِ سِيرِينَ، عَنْ أُمِّ عَطِيَّةَ، قَالَتْ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " أَخْرِجُوا الْعَوَاتِقَ وَذَوَاتِ الْخُدُورِ لِيَشْهَدْنَ الْعِيدَ وَدَعْوَةَ الْمُسْلِمِينَ . وَلِيَجْتَنِبَنَّ الْحُيَّضُ مُصَلَّى النَّاسِ " .
It was narrated that Umm ‘Atiyyah said:
“The Messenger of Allah (ﷺ) said: ‘Bring out the women who have attained puberty and those who are in seclusion so that they may attend the ‘Eid prayer and (join in) the supplication of the Muslims. But let the women who are menstruating avoid the prayer place.”
Reference : Sunan Ibn Majah 1308
In-book reference : Book 5, Hadith 506