Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whenever the post-natal bleeding (Nifas) ceases and the woman is certain it will not return, she has become pure; therefore, she must perform the ritual bath (Ghusl) and resume praying and fasting. However, if the blood returns within fifteen days of its cessation and before sixty days have passed since the delivery, the ruling of Nifas applies once again. Consequently, any fasting or prayer performed during that interval of purity is rendered invalid; she must make up for the missed fasts of those days, but she is not required to make up for the prayers. And Allah the Exalted knows best.