If the bleeding ceases after 40 days following childbirth, but then returns intermittently during two days of fasting, what is the ruling?
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.
Is it permissible for women to attend Tarawih prayer in the mosque?
Yes, it is permissible for women to attend Tarawih prayer in the mosque, provided they observe modesty, proper covering, and avoid mixing with men.
The Prophet ﷺ said: "Do not prevent the female servants of Allah from the mosques of Allah." [Bukhari and Muslim]
Do wounds and bleeding during the day in Ramadan break the fast?
If a wound results in something entering the body cavity (jauf), such as blood or an external object, then the fast is invalidated.
However, external wounds and bleeding do not break the fast, unless they cause something to enter the body cavity.
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.