If a Woman with Postpartum Bleeding sees that She is Clean before the Completion of Forty Days...
Question :
I request you to deliver a verdict for me... does the woman with postpartum bleeding pray after forty days, or before that, if she observes that she is clean?
Answer:
If the woman with postpartum bleeding observes that she is clean (i.e. that the blood has stopped), she should perform major ablution, fast and pray regardless of whether or not forty days have passed. When she has completed the forty days, she should perform Ghusl and pray, even if the blood continues, because it is the blood of illness, like that of Istihadhah, unless it is followed by the monthly menstrual period. In which case, she should abstain from prayer and fasting for the normal duration of her period, then perform Ghusl and pray.
And through Allah is success attained. And may peace and blessings be upon our Prophet, Muhammad and upon his family and Companions.
Source:
The Permanent Committee
Fatawa Islamiyah, Vol. 2 Pages