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.
What should a person do if they suffer from an incurable illness that prevents them from fasting?
A person who has an illness that is not expected to be cured and prevents them from fasting must feed a needy person one mudd (600 grams) of food (such as wheat or rice) for each missed day instead of fasting.
Allah Almighty says {what means}: "and [in such cases] it is incumbent upon those who can afford it to make sacrifice by feeding a needy person." [Al-Baqarah/184].
What is the recommended supplication (Du'a) upon breaking the fast, and is it recited before or after breaking it?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is recommended (Mustahabb) for a fasting person to recite upon breaking the fast—that is, immediately after eating or drinking—the supplication: "Allahumma laka sumtu wa 'ala rizqika aftartu" (O Allah, for You I have fasted, and with Your provision I have broken my fast).
This is because our master, the Prophet (peace and blessings be upon him), used to say this. The narration was recorded by Abu Dawud with a good (Hasan) chain of transmission, albeit in a Mursal form (a narration where a Successor reports directly from the Prophet). Shaykh al-Islam Imam Ibn Hajar al-Haytami (may Allah have mercy upon him) stated: "Its Mursal status is inconsequential, as it pertains to virtuous deeds (Fada'il); furthermore, it was connected (Mawsul) through another chain of transmission." [Tuhfat al-Muhtaj, Vol.3/P.425]
It is also recommended to recite: "Dhahaba al-dhama'u wa ibtallat al-'uruqu wa thabata al-ajru in sha' Allah" (The thirst has gone, the veins are moistened, and the reward is confirmed, if Allah wills).
This was recorded by Abu Dawud with a good (Hasan) chain. Our leading jurists (Imams) have explicitly stated that it is recommended for the fasting person to combine both supplications.
Imam al-Bajuri (may Allah have mercy upon him) stated:
"And his saying following his breaking of the fast—that is, it is recommended to say: 'O Allah, for You I have fasted, upon Your provision I have broken my fast, in You I have believed, to You I have submitted, and upon You I have relied. The thirst has gone, the veins are moistened, and the reward is confirmed, if Allah wills. O You of vast bounty, forgive me. Praise be to Allah Who aided me so that I fasted, and provided for me so that I broke my fast. O Allah, grant us success in fasting, enable us to stand in night prayer during it, and aid us in it while people sleep, and admit us to Paradise in peace.'" [Hashiyat al-Bajuri, Vol.1/P.562]
Furthermore, the fasting person may supplicate with whatever good he or she wishes, for the supplication of a fasting person is answered. Al-Bayhaqi recorded on the authority of Anas ibn Malik that the Messenger of Allah (peace and blessings be upon him) said: "Three supplications are not rejected: the supplication of a parent for his child, the supplication of a fasting person, and the supplication of a traveler." And Allah Almighty knows best.
I vowed to give a specific charity if a certain matter came to pass — what is the ruling on giving that charity before the matter is realised?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
Fulfilling a vow (nadhr) is obligatory, in accordance with the word of Allah the Almighty: "And let them fulfil their vows." [Al-Ḥajj/ 29] And the saying of our master the Messenger of Allah ﷺ: "Whoever vows to obey Allah, let him obey Him; and whoever vows to disobey Him, let him not disobey Him." (Reported by al-Bukhārī.)
The Shāfiʿī scholars distinguished between a financial vow (nadhr mālī) and a bodily vow (nadhr badanī). They permitted the fulfilment of a financial vow to be brought forward — before the stipulated condition is met — but did not permit the same for a bodily vow, which may only be fulfilled after the condition has actually been realised.
Shaykh al-Islām Imām Zakariyyā al-Anṣārī, may Allah have mercy upon him, states: "It is permissible to bring forward the fulfilment of a financial vow before the condition stipulated in it is met — such as saying: 'If I am healed, I vow to free a slave' or 'to give such-and-such in charity' — just as it is permissible to pay zakāh in advance. This is unlike a bodily vow, such as fasting." [Asnā al-Maṭālib, vol. 4/P.246]
Imām al-Bājūrī, may Allah have mercy upon him, states: "Like expiation other than fasting, a financial vow — such as saying: 'If Allah heals my sick one, I vow to free a slave for the sake of Allah,' or 'If Allah heals my sick one, I vow to free a slave on the Friday following the recovery' — it is permissible to bring it forward before the recovery in the first case, and before the Friday following the recovery in the second case." [Ḥāshiyat al-Bājūrī ʿalā Sharḥ Ibn Qāsim, Vol.2/P.596] And Allah the Almighty knows best.