(a) It is narrated from Abu Ja'far that Sayyidah Sawdah (may Allah be pleased with her) had prolonged bleeding (istihadah). The Messenger of Allah (peace and blessings be upon him) instructed her: "When her days of menstruation have passed, she should take a ritual bath and pray." (b) Imam Ahmad (al-Bayhaqi) (may Allah have mercy on him) says that the version Ibn Khuzaymah (may Allah have mercy on him) narrated from al-Utaridi, from Hafs bin Ghiyath, from al-Ala' is more complete than this. (c) Imam Abu Dawud (may Allah have mercy on him) says that Sa'id bin Jubayr (may Allah have mercy on him) narrated from Sayyiduna Ali and Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the woman with prolonged bleeding should sit out the days of her menstruation. Likewise Imam al-Sha'bi (may Allah have mercy on him) narrated it from Qamir, the wife of Masruq, from Sayyidah Aishah (may Allah be pleased with her). This is the view of al-Hasan, Sa'id bin al-Musayyib, Ata, Makhul, Ibrahim, Salim and al-Qasim: that the woman with prolonged bleeding abandons the prayer during the days of her menstruation.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحيض / 1586