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.
Where should a woman following her husband or another man in prayer stand?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a single woman prays with a man—whether she is his wife or a non-mahram (Ajnabiyyah)—the Sunnah is for her to stand behind the Imam and be shielded by him. If the Imam is leading both a man and a woman, the man should stand to the Imam's right, and the woman should stand behind the male follower (Muqtadi). In this way, she is shielded from the Imam by the male follower and remains at a distance from the follower and his line of sight. And Allah the Exalted knows best.
What is the correct point at which to raise the hands when standing up for the third rak‘ah (after the middle tashahhud)?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Raising the hands while saying the takbīr [when rising for the third rak‘ah] is a recommended sunnah, and omitting it does not affect the validity of the prayer. The proper time for this is after rising from the middle tashahhud, once one has fully stood up.
It is stated in I‘ānat aṭ-Ṭālibīn (Vol.1/P.158): "His statement, 'and rising from the first tashahhud' — meaning, this manner [of raising the hands] is also a sunnah when he rises from the first tashahhud, that is, when he stands upright from it.
Consider [the question]: when precisely does the raising of the hands begin? Is it at the very start of rising from the first tashahhud, or after he has reached the minimum position of rukū‘ [i.e., once fully upright]? The apparent, [correct] view is the latter — even though the outward wording [of the text] might suggest the former — because at the very start of his rising, he is still relying on both hands [to push himself up, and therefore cannot yet raise them]."
It is stated in ‘Umdat as-Sālik (p. 53): "If his prayer extends beyond two rak‘ahs, he sits after them in the iftirāsh position, recites the tashahhud, and sends blessings upon the Prophet ﷺ alone, without [mentioning] his family [at this point]. He then stands while saying the takbīr, supporting himself with his hands; and once he has stood upright, he raises them level with his shoulders." And Allah, the Exalted, knows best.
What is the virtue of Laylat al-Qadr?
It is enough to know its great status that Allah revealed an entire surah about it—Surah Al-Qadr. Moreover, the Quran was first revealed on this night.
Allah says {what means}:
"We have indeed revealed this (Message) in the Night of Power: And what will explain to thee what the night of power is? The Night of Power is better than a thousand months. Therein come down the angels and the Spirit by Allah's permission, on every errand: Peace!... This until the rise of morn!" [Al-Qadr/1-5]
The Prophet ﷺ taught us to observe I‘tikaf in the last ten nights of Ramadan, seeking Laylat al-Qadr. Whoever worships Allah and revives this night will receive the reward of worshiping for a thousand months—excluding Laylat al-Qadr itself.