وَعَنْ أُمِّ عَطِيَّةَ قَالَتْ: { أُمِرْنَا أَنْ نُخْرِجَ اَلْعَوَاتِقَ, وَالْحُيَّضَ فِي الْعِيدَيْنِ; يَشْهَدْنَ الْخَيْرَ وَدَعْوَةَ اَلْمُسْلِمِينَ, وَيَعْتَزِلُ اَلْحُيَّضُ اَلْمُصَلَّى } مُتَّفَقٌ عَلَيْهِ 1‏.‏

‏1 ‏- صحيح.‏ رواه البخاري (324)‏، ومسلم (890)‏ مع مراعاة أن الحافظ قد تصرف في اللفظ.‏

Translation
Narrated Wabisah bin Ma'bad

Allah's Messenger (ﷺ) saw a man praying alone behind the row so he ordered him to repeat the Salat (prayer).[Reported by Ahmad, Abu Dawud and at-Tirmidhi. The latter graded it Hasan, and Ibn Hibban graded it Sahih (authentic)].