Sunan Abi Dawud 305
Narrated Umm Habibah daughter of Jahsh:
Ikrimah said: Umm Habibah daughter of Jahsh had a prolonged flow of blood. The Prophet (ﷺ) commanded her to refrain (from prayer) during her menstrual period; then she should wash and pray, if she sees anything (which renders ablution void) she should perform ablution and pray.
حَدَّثَنَا زِيَادُ بْنُ أَيُّوبَ، حَدَّثَنَا هُشَيْمٌ، أَخْبَرَنَا أَبُو بِشْرٍ، عَنْ عِكْرِمَةَ، أَنَّ أُمَّ حَبِيبَةَ بِنْتَ جَحْشٍ، اسْتُحِيضَتْ فَأَمَرَهَا النَّبِيُّ صلى الله عليه وسلم أَنْ تَنْتَظِرَ أَيَّامَ أَقْرَائِهَا ثُمَّ تَغْتَسِلُ وَتُصَلِّي فَإِنْ رَأَتْ شَيْئًا مِنْ ذَلِكَ تَوَضَّأَتْ وَصَلَّتْ ‏.‏