Sunan al-Darimi 859
أَخْبَرَنَا مُحَمَّدُ بْنُ عِيسَى، حَدَّثَنَا هُشَيْمٌ، حَدَّثَنَا يُونُسُ، عَنِ الْحَسَنِ قَالَ: «تُمْسِكُ الْمَرْأَةُ عَنِ الصَّلَاةِ فِي حَيْضِهَا سَبْعًا، فَإِنْ طَهُرَتْ، فَذَاكَ، وَإِلَّا أَمْسَكَتْ مَا بَيْنَهَا وَبَيْنَ الْعَشْرِ، فَإِنْ طَهُرَتْ، فَذَاكَ، وَإِلَّا اغْتَسَلَتْ وَصَلَّتْ، وَهِيَ مُسْتَحَاضَةٌ»
Muhammad ibn ʿIsa informed us; Hushaym narrated to us; Yunus narrated to us, from al-Hasan, who said: "The woman refrains from the prayer during her menstruation for seven [days]. If she becomes pure, that is that; otherwise she refrains for what is between that and ten. If she becomes pure, that is that; otherwise she bathes and prays, and she is a woman with istihadah."