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 ablution without istinja' after sleep?
The sleep of one whose buttocks are not firmly seated on the ground invalidates ablution. Whoever wakes up and wants to pray must perform ablution only. Istinja' is not a condition for the validity of ablution, because it is for removing impurity from the private part. If there is no impurity on the private part, then istinja' is neither obligatory nor recommended. And Allah the Almighty knows best.
Is it obligatory to have the intention for each day of fasting, or is one intention sufficient for the whole month?
The intention is obligatory for each day of Ramadan because each day is an independent act of worship separate from the others.
The intention must be made at night before the break of dawn, as the Prophetﷺ said: "Whoever does not intend fasting at night, there is no fast for him." [An-Nasa’i]
And he also said: "Whoever does not firmly resolve to fast before dawn, there is no fast for him." [At-Tirmidhi, Abu Dawood, and An-Nasa’i]
Whoever wakes up and eats Suhoor while mindful of fasting has made the intention. Likewise, one who firmly intends at any moment during the night to fast the next day has also fulfilled the intention.
Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.