What is the ruling on making up missed prayers during prohibited times?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to make up (qada’) missed prayers at any time, even during the periods when prayer is generally prohibited. The prayers that are forbidden and considered invalid during these times are 'absolute voluntary prayers' (nafl mutlaq)—which have no specific cause—and voluntary prayers whose cause follows the prayer itself, such as the Sunnah of entering Ihram or the Sunnah of the Istikharah prayer. Furthermore, no prayer is considered disliked (makruh) during these prohibited times when performed within the Meccan Sanctuary (Makkah al-Mukarramah).
It is stated in Bushra al-Karim (Vol.1/P.181), one of the Shafi’i texts: 'It is not forbidden to perform prayers that have a cause that is not delayed (i.e., the cause is preceding), such as making up a missed prayer (fa’itah)—even if it was a voluntary one—and the funeral prayer (janazah); or a cause that is simultaneous, such as the prayer for rain (istisqa’) or the eclipse prayer (kusuf)... and the Sunnah of wudu, the greeting of the mosque (tahiyyat al-masjid), the Sunnah of circumambulation (tawaf), the Sunnah of arrival, and the prostrations of recitation (tilawah) or thankfulness (shukr). These mentioned prayers and their like are not forbidden provided that one does not specifically intend (ta'ammud) to perform them during the disliked time because it is a disliked time. If one does so intentionally, it becomes forbidden, even if it is a mandatory makeup prayer that is due immediately; because in that case, one is acting in defiance of the Sharia. This is in contrast to when one does not specifically seek out that time, even if the prayer happens to fall within it, or if one seeks it for another purpose—such as delaying a funeral prayer to that time so that a larger number of people may pray over the deceased; in such cases, it is permissible and valid... And it is forbidden to perform prayers with no cause at all, like absolute nafl, or those with a delayed cause, such as the Istikharah prayer, the prayer for Ihram, the prayer for a need (hajah), the prayer before leaving the house, or the prayer before execution; because their causes occur after the prayer itself.' And Allah the Exalted knows best."
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Does an internal medical examination for a woman affect her fast?
An internal medical examination for a woman invalidates the fast because it involves the entry of a foreign object into the body cavity (jauf) while fasting.
In this case, the woman must refrain from eating and drinking for the rest of the day out of respect for Ramadan and make up for the missed fast after Ramadan.
Such an examination should be avoided in Ramadan and other months unless absolutely necessary, as exposing the private parts is only permissible in cases of necessity.
If necessary, a woman should seek a Muslim female doctor first. If one is unavailable, she may see a female doctor from the People of the Book (Jews and Christians). If neither is available, she may consult a trustworthy and competent Muslim male doctor.
What is the ruling if a postpartum woman becomes pure before forty days; are acts of worship obligatory upon her, and is she permissible for her husband?
If the postpartum woman becomes definitely pure before forty days, she must perform the ritual bath and perform acts of worship as a pure woman does. What was prohibited for her also becomes permissible, so she becomes permissible for her husband after her bath. The minimum duration for postpartum bleeding is a moment (an instant), and its usual maximum is forty days. Reaching forty days is not a condition; rather, it is sufficient for the blood to stop or to see the white discharge (qassa bayda'). And Allah the Almighty knows best.