What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.
What is the ruling on someone who prays Fajr late, after sunrise, knowing that they wake up on time but return to sleep and do not perform it within its time?
It is obligatory to perform the prayer within its prescribed time. If someone wakes up and knows how to act, they must perform it before the time ends. If they delay it, they are sinful and must make it up. And Allah Knows Best.
What is the ruling on a person who broke the fast a day in Ramadan due to hardship?
He/she is obliged to make up that day.
What is the ruling on someone who vowed to fast for two consecutive months, but failed to do so?
He is obliged to fulfill his vow by fasting for two consecutive months, but if he fails to do so then, it remains a debt on him until he either fulfills his vow, or dies. In case of his death, his guardian is supposed to fast on his behalf, or donate food from his estate in return for fasting, but if the guardian fails to do so then, it is all in the Hands of Allah.