Question:
When a woman in post-natal bleeding (nifas) becomes pure before forty days, is it permissible for her to fast, pray and perform Hajj?
Answer:
Yes, when she becomes pure before forty days, it is permissible for her to fast, pray, and perform Hajj and Umrah, and it will also be lawful for her husband to have intercourse with her. So if she becomes pure after twenty days, she should perform ghusl, pray and fast, and she becomes lawful for her husband. As for what is narrated from Uthman ibn Abi al-As (may Allah have mercy on him), that he regarded this as disliked, that dislike is to be understood as a dislike of the level of tanzih (mild disapproval); and in any case, this is his own personal ijtihad, for which there is no evidence.
The correct view is that when she becomes pure before forty days, this purity is counted as valid purity. So if the blood begins to flow again within the forty days, the correct view is that she should count it as nifas blood up to forty days, and her fasts, prayers and Hajj performed in the state of purity are all valid; no act performed in the state of purity will be repeated.