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.
Is it valid to have Suhoor before sleeping, even if it is before midnight?
Suhoor refers to the pre-dawn meal eaten after midnight to help a Muslim endure fasting. The closer it is to Fajr, the better.
The Prophet ﷺ said: "My Ummah will remain upon goodness as long as they hasten to break the fast and delay Suhoor." [Narrated by Ahmad]
This is because delaying Suhoor makes it more effective in providing strength for worship. However, if there is a risk of Fajr entering while eating, one should refrain from Suhoor out of caution.
The Prophet ﷺ said: "Leave what makes you doubt for what does not make you doubt." [Narrated by Al-Tirmidhi]
What is the ruling on one who vows to fast a specific or non-specific year? Are the two Eids, the days of Tashreeq, Ramadan, and the days of menstruation and postnatal bleeding included in them? And do these days break the consecutiveness if it was intended?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If someone makes a vow (Nadr) to fast a specific, designated year, this vow does not include the days of Eid, the days of Tashreeq (the three days following Eid al-Adha), Ramadan, or the days of menstruation (Hayd) and postnatal bleeding (Nifas). Furthermore, there is no requirement to make up (Qada) these specific days.
However, if someone vows to fast a year that is not specifically designated (i.e., any twelve-month period) and stipulates that the fasting must be consecutive, they are bound by that condition. They must not fast on the days of Eid, during Ramadan, or during menstruation, but they are required to make up these days afterward—with the exception of the days of menstruation and postnatal bleeding, which do not need to be made up.
It is stated in Hashiyat al-Bajuri ‘ala Sharh Ibn Qasim ({Vol.2/P.606): 'If one vows to fast a specific year, the Eid, Tashreeq, Ramadan, and days of menstruation or postnatal bleeding are not included. This is because Ramadan does not accept any fast other than its own, and the others do not accept fasting at all. Therefore, they do not enter into the vow, and no makeup is required for them because they are legally excluded—contrary to Al-Rafi’i regarding menstruation and postnatal bleeding.
If one vows to fast a non-designated year: if they stipulated consecutiveness (Tatuabu’) in their vow, they must fulfill it; otherwise, they are not bound to it. Consecutiveness is not broken by the days that do not enter into the specific year vow (Eid, Tashreeq, Ramadan, menstruation, and postnatal bleeding). However, one must make up the days missed—excluding the time of menstruation and postnatal bleeding—immediately following the end of the year. As for the time of menstruation and postnatal bleeding, it is not made up, contrary to Ibn al-Rif’ah, who argued that it must be made up just like Ramadan.' And Allah the Exalted knows best.
What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]