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 Tarawih prayer?
Tarawih prayer is a confirmed Sunnah (Sunnah Mu’akkadah).
What is the ruling on Qonot Du`a (supplication) at dawn prayer?
All perfect praise be to Allah,The Lord of The Worlds It is a confirmed Sunnah, and whoever leaves it should perform Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
When is the prayer considered *adāʾ* (performed within its time): upon rising from the bowing (*rukūʿ*), or after rising from the prostration (*sujūd*)?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever catches one complete rakʿah within the prayer's time has caught the prayer as an on-time (adāʾ) prayer. The rakʿah is complete when the worshipper raises his head from the second prostration (sajdah), even if he has not yet reached the degree of standing in which the recitation is valid.
It is stated in Nihāyat al-Muḥtāj (Vol.1/p.378): "What is meant by the rakʿah is the completion of all of it, with its two prostrations." End quote.
And in Ḥāshiyat al-Shabrāmallisī: "(His saying: 'a rakʿah') means that he raises his head from the second prostration, even if he has not reached the degree in which the recitation is valid." And Allah Almighty knows best.
________________________________________
Note on terminology: Adāʾ refers to performing the prayer within its prescribed time, as opposed to qaḍāʾ (making it up after its time has ended).