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 validity of the formula for sending blessings upon our master Muḥammad ﷺ: *"Allāhumma ṣalli wa sallim wa bārik ‘alā sayyidinā Muḥammad wa ‘alā ālihi, ‘adada kamāli-Llāhi wa kamā yalīqu bikamālihi"* ("O Allah, send blessings, peace, and grace upon our master Muḥammad and his family, by the number of Allah's perfection, and as befits His perfection")?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to send blessings upon our master, the Prophet ﷺ, using the formula mentioned in the question, since sending blessings upon the Prophet ﷺ is an act of devotion legislated in its basic essence, without a specific prescribed wording required outside of the formal prayer itself. It is therefore valid to perform it outside of prayer using any formula. This particular formula involves multiplying the blessings sent upon the Chosen Prophet ﷺ to the number of the perfections of Allah, the Exalted — which are limitless — so that, by Allah's permission, its reward and benefit never cease.
The meaning of "the number of Allah's perfection" is that it is without limit, making the blessings sent boundless, corresponding to His perfection, Glorified is He, which cannot be enumerated or counted. This formula is analogous to the words of our Greatest Prophet ﷺ, as related in the authentic ḥadīth narrated by Imam Muslim: the Prophet ﷺ said to Sayyidah Juwayriyyah (raḍiyallāhu ‘anhā): "Indeed, I said four phrases after you [left], three times, which, if weighed against everything you have said since this morning, would outweigh them: Subḥān Allāhi wa biḥamdihi, ‘adada khalqihi, wa riḍā nafsihi, wa zinata ‘arshihi, wa midāda kalimātihi" (Glory be to Allah, and praise be to Him, by the number of His creation, by His pleasure, by the weight of His Throne, and by the extent of His words). And Allah, the Exalted, knows best.
What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.
What is the ruling on the ablution of one who touches women prohibited to him by a temporary prohibition (mahram bi-hurma mu'aqqata)?
It is prohibited to touch a woman who is temporarily prohibited (meaning one whom it becomes permissible to marry after the impediment is removed, such as the wife of a brother or paternal uncle). Touching her without a barrier invalidates ablution. And Allah the Almighty knows best.