It is mustahabb to say: I seek protection with Allah the Tremendous and with His Noble Countenance and His Pre-eternal Sovereign Might from Shayṭān the rejected. Praise be to Allah. O Allah, send blessings and salutations upon Muḥammad and upon the family of Muḥammad. O Allah, forgive me my sins and open for me the doors of Your Mercy. Then one should say In the name of Allah. He should enter with his right foot first. He should leave with his left foot first and say all that we mentioned above, except that he should say the doors of Your Favour instead of Your Mercy.”
أَعُوذُ بِاللهِ العَظِيمِ، وَبِوَجهِهِ الكَرِيمِ، وَسُلطَانِهِ القَدِيمِ، مِنَ الشَّيطَانِ الرَّجِيمِ. الحَمدُ لِلهِ، اللهُمَّ صَلِّ وَسَلِّم عَلَى سَيِّدِنَا مُحّمَّدٍ وَعَلَى آلِ سَيِّدِنَا مُحَمَّدٍ، اللهُمَّ اغفِر لِي ذُنُوبِي، وَافتَح لِي أَبوَابَ رَحمَتِكَ، بِاسمِ اللهِ.
“A‘ūdhu bi-llāhi-l-‘Aẓīm, wa bi-wajhihi-l-karīm, wa sulṭānihi-l-qadīm, mina-sh-Shayṭāni-r-rajīm. Al-ḥamdu li-llāh. Allāhumma ṣalli wa sallim ‘alā Muḥammadin wa ‘alā āli Muḥammad. Allāhumma-ghfir lī dhunūbī wa-ftaḥ lī abwāba raḥmatik. Bismi-llāh.”
We relate from Abū Ḥumayd, or Abū Usayd , that the Messenger of Allah said: “When any one of you enters the mosque, he should invoke blessings upon the Messenger and then say: O Allah, open for me the doors of Your Mercy. And when he leaves he should say: O Allah, I ask of You from Your bounty.” Muslim relates this in his Ṣaḥīḥ. Abū Dāwūd, an-Nasā’ī, Ibn Mājah and others also relate it, with a ṣaḥīḥ isnād. In Muslim’s narration there is no sentence: ‘So, send greetings upon the Prophet ’, although it is in the narrations of the rest.”
اَللهُمَّ افتَح لِي أَبوَابَ رَحمَتِكَ. اَللهُمَّ إِنِّي أَسأَلُكَ مِن فَضلِكَ.
Allāhumma-ftaḥ lī abwāba raḥmatik. Allāhumma innī as’aluka min faḍlik.
We relate in ‘Abdullāh ibn ‘Amr ibn al-‘Āṣ that when the Prophet entered the mosque he would say: “I seek protection in Allah the Tremendous, His Noble Countenance, and His Pre-eternal Sovereign Might from Shayṭān the rejected.” He remarked that if one says this then Shayṭān says: “He has gained protection from me for the whole day.” This hadith is ḥasan and is narrated by Abū Dāwūd with a good isnād.”
أَعُوذُ بِاللهِ العَظِيمِ، وَبِوَجهِهِ الكَرِيمِ، وَسُلطَانِهِ القَدِيمِ، مِنَ الشَّيطَانِ الرَّجِيمِ
A‘ūdhu bi-llāhi-l-‘Aẓīm, wa bi-wajhihi-l-karīm, wa sulṭānihi-l-qadīm, mina-sh-Shayṭāni-r-rajīm.