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 is the ruling on performing Tahajjud after the Witr?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible for one who has prayed the Witr to perform voluntary (Nafl) prayers after it. However, it is preferable for the Witr to be the final prayer of the night. Therefore, if a person is confident that they will wake up during the night for Tahajjud, it is recommended for them to delay the Witr until after the Tahajjud. Conversely, if one fears they may not wake up, they should perform the Witr before sleeping.
Al-Khatib al-Shirbini (may Allah have mercy on him) stated: 'It is not disliked (Makruh) to perform Tahajjud after the Witr, but it is not recommended to do so intentionally.' [Mughni al-Muhtaj, Vol. 1/P.454]. And Allah the Exalted knows best."
The imam recited a verse containing a prostration of recitation (*sajdat al-tilāwah*) but did not prostrate. After the imam's *salām*, a follower (*maʾmūm*) performed a prostration of forgetfulness (*sujūd al-sahw*) because the imam had not performed the prostration of recitation. Is it permissible to go against the imam in this way?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
There is no sin on the imam if he omits the prostration of recitation (sujūd al-tilāwah), even deliberately. The maʾmūm (the one following the imam) is obliged to follow the imam in the prayer, so if the imam does not perform the prostration of recitation, it is not permissible for the follower to prostrate, because the imam is appointed only to be followed.
If the follower introduces a prostration after the imam’s salām but before his own salām, in a case where there is no prostration of forgetfulness (sujūd al-sahw), his prayer is invalidated if he knew it to be prohibited. Otherwise, he is excused on account of his ignorance and his prayer is not invalidated.
It is stated in Ḥāshiyat al-Imām al-Jamal ʿalā Fatḥ al-Wahhāb: “His statement: ‘So the omission of the hayʾāt (the non-essential sunnahs of the prayer) is not compensated for by prostration; if one prostrates for any of them deliberately, his prayer is invalidated, unless he is excused due to his ignorance.’”
Since this issue is one that is hidden from the laymen, as it is among the subtleties of knowledge, and the laymen are excused for ignorance of whatever is of such a nature, and their act of obedience is not invalidated because of it, it may be said that the prayer of one who has not acquired knowledge of this issue is not invalidated, with the necessity of learning the rulings remaining. As for after knowing it, the prayer is invalidated. And Allah Almighty knows best.
What is the ruling on a person in a state of major impurity (junub) walking or eating before performing the ritual bath?
It is from the Sunnah for a Muslim to hasten to perform the ritual bath for major impurity. However, if he delays it, he does not sin provided he does not miss the prayer. It is permissible for the junub to walk, eat, drink, and sleep. It is recommended for him to perform ablution before these actions to reduce the state of impurity, although the best is for him to perform the ritual bath. And Allah the Almighty knows best.