أَخْبَرَنَا مُحَمَّدُ بْنُ يُوسُفَ، حَدَّثَنَا ابْنُ عُيَيْنَةَ، عَنْ ابْنِ أَبِي نَجِيحٍ، عَنْ عَطَاءٍ، وَطَاوُسٍ، وَمُجَاهِدٍ، قَالُوا: "إِذَا طَهُرَتْ الْحَائِضُ قَبْلَ الْفَجْرِ، صَلَّتْ الْمَغْرِبَ وَالْعِشَاءَ، وَإِذَا طَهُرَتْ قَبْلَ غُرُوبِ الشَّمْسِ، صَلَّتْ الظُّهْرَ وَالْعَصْرَ".
Ata, Tawus, and Mujahid (may Allah have mercy on them) said that if a menstruating woman becomes pure before the Fajr prayer, she should also perform Maghrib and Isha, and if she becomes pure before sunset, she should also perform Dhuhr and Asr.