What is the ruling on the prayer of one who said "Subḥāna Rabbiya al-ʿAẓīm" in prostration (*sujūd*) and forgot to correct it?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Saying “Subḥāna Rabbiya al-ʿAẓīm” in bowing (rukūʿ) and “Subḥāna Rabbiya al-Aʿlā” in prostration (sujūd) is one of the hayʾāt (non-essential sunnahs) of the prayer. Whoever omits it, whether deliberately or by forgetfulness, or replaces it with another remembrance (dhikr), his prayer is valid and he does not perform sujūd al-sahw. Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him) said: “Our school holds that one does not prostrate for omitting the audible or silent recitation, the tasbīḥ, and the rest of the hayʾāt.” [al-Majmūʿ, Vol.4/p.127]
If he performs sujūd al-sahw for something that does not call for it, his prayer is invalidated, because he introduced a prostration of forgetfulness without a cause, and he must repeat the prayer. The exception is one who did so out of forgetfulness or ignorance, whether because he recently entered Islam or because he lives far from scholars; he is excused and his prayer is not invalidated.
It is stated in Mughni al-Muḥtāj (Vol.1/p.417): “It is stated in al-Anwār: If he does something that does not call for sujūd al-sahw, thinking that it does, and then prostrates, his prayer is not invalidated if he is ignorant because he recently entered Islam or because he is far from scholars.”
Since this issue is hidden from the laity, as it is among the subtleties of knowledge, and the laity 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 the issue is not invalidated. As for after knowing it, the prayer is invalidated.
Whoever realizes while still in the prayer that his prostration was out of place, it is sunnah for him to perform sujūd al-sahw. And Allah 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 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 the Duha (forenoon) prayer before its time has begun, because I go to school early in the morning?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The Duha (forenoon) prayer is not valid if performed before its time has begun. Its time starts when the sun has risen to a noticeable height, that is, approximately fifteen minutes after sunrise, and it ends when the sun reaches its zenith (zawāl), shortly before the Dhuhr (noon) prayer. It is stated in Mughni al-Muhtaj (Vol.1/p.455): “Its time is from the rising of the sun [to a spear’s height] until the zenith.”
Accordingly, the Duha prayer is not valid if offered before the sun has risen, and its time remains open until just before Dhuhr. It may be performed at any time at school, during the break between classes or during recess. And Allah Almighty knows best.