Sunan al-Darimi 989
أَخْبَرَنَا مُحَمَّدُ بْنُ عِيسَى، حَدَّثَنَا هُشَيْمٌ، حَدَّثَنَا يُونُسُ، عَنِ الْحَسَنِ، فِي النُّفَسَاءِ: «تُمْسِكُ عَنِ الصَّلَاةِ أَرْبَعِينَ يَوْمًا، فَإِنْ رَأَتِ الطُّهْرَ فَذَاكَ، وَإِنْ لَمْ تَرَ الطُّهْرَ، أَمْسَكَتْ عَنِ الصَّلَاةِ أَيَّامًا خَمْسًا، سِتًّا، فَإِنْ طَهُرَتْ، فَذَاكَ، وَإِلَّا أَمْسَكَتْ عَنِ الصَّلَاةِ مَا بَيْنَهَا وَبَيْنَ الْخَمْسِينَ، فَإِنْ طَهُرَتْ، فَذَاكَ، وَإِلَّا، فَهِيَ مُسْتَحَاضَةٌ»
Muhammad ibn ʿIsa informed us; [he said]: Hushaym narrated to us; [he said]: Yunus narrated to us, from al-Hasan, concerning the woman in nifas: "She refrains from the prayer for forty days. If she sees purity, then that [is that]; and if she does not see purity, she refrains from the prayer for five or six days. If she becomes pure, then that [is that]; otherwise she refrains from the prayer for what is between that and fifty. If she becomes pure, then that [is that]; otherwise she is a woman with istihadah."