Sunan al-Darimi 821
حَدَّثَنَا مُحَمَّدُ بْنُ عِيسَى، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ كَثِيرٍ، وَحَفْصٍ، عَنِ الْحَسَنِ «فِي الْمُسْتَحَاضَةِ الَّتِي تَعْرِفُ أَيَّامَ حَيْضَتِهَا إِذَا طُلِّقَتْ فَيَطُولُ بِهَا الدَّمُ، فَإِنَّهَا تَعْتَدُّ قَدْرَ أَقْرَائِهَا ثَلَاثَ حِيَضٍ، وَفِي الصَّلَاةِ إِذَا جَاءَ وَقْتُ الْحَيْضِ فِي كُلِّ شَهْرٍ، أَمْسَكَتْ عَنِ الصَّلَاةِ»
Muhammad ibn ʿIsa narrated to us; Hammad ibn Zayd narrated to us, from Kathir and Hafs, from al-Hasan, regarding the woman with istihadah who knows the days of her menstruation, when she is divorced and the bleeding goes on for a long time: "She observes ʿiddah for the length of her periods, three menstruations. And as for the prayer, when the time of menstruation comes each month, she refrains from the prayer."