What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
If a traveler settles or a sick person recovers while fasting, is it permissible for them to break their fast?
● If a sick person starts the day fasting and then recovers during the day, they must complete their fast.
● If a traveler starts the day fasting and then settles (returns or stops traveling) during the day, they must also complete their fast.
● It is forbidden for both of them to break their fast because the concession (rukhsah) is no longer valid once its reason disappears.
Is a woman sinful if she fasts out of shyness from her family while menstruating or in postnatal bleeding?
It is forbidden for a woman who is menstruating or in postnatal bleeding to abstain from food and drink with the intention of fasting. If she fasts out of shyness, she is sinful, as her fast is not valid.
However, if she refrains from eating and drinking without intending to fast, it is not forbidden, but she unnecessarily burdens herself without need.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.