Dua When Entering and leaving the Masjid
Dua 1 When Entering the Masjid:
أَعُوْذُ بِاللّٰهِ الْعَظِيْمِ ، وَبِوَجْهِهِ الْكَرِيْمِ ، وَسُلْطَانِهِ الْقَدِيْمِ ، مِنَ الشَّيْطَانِ الرَّجِيْمِ
Translation :
I seek protection in Allah, the Supreme, His Noble Countenance, and His Eternal Authority from the accursed Shaytān.
Transliteration :
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.
Hadith:
Haywah b. Shurayh (raḥimahullāh) narrated: "I met ‘Uqbah b. Muslim (raḍiy Allāhu ‘anhu) and said to him: 'It has been reported to me that someone has narrated to you from the Prophet ﷺ that when he entered the mosque, he would say [the above]. Is it only this? He replied: 'Yes. Whoever says [the above], Shaytān says: ‘He has gained protection against me for the entire day.’” (Abū Dawūd 466)
Dua 2 When Entering the Masjid:
بِسْمِ اللّٰهِ ، وَالصَّلَاةُ وَالسَّلَامُ عَلَىٰ رَسُوْلِ اللّٰهِ ، اَللّٰهُمَّ اغْفِرْ لِيْ ذُنُوْبِيْ ، اَللّٰهُمَّ افْتَحْ لِيْ أَبْوَابَ رَحْمَتِكَ
Translation :
In the Name of Allah. Peace and blessings be upon the Messenger of Allah. O Allah, forgive my sins. O Allah, open the gates of Your mercy for me.
Transliteration :
Bismi-llāh, wa-ṣ-ṣalātu wa-s-salāmu ʿalā Rasūl-i-llāh, Allāhumma-ghfir lī dhunūbī, Allāhumma-f-taḥ lī abwāba raḥmatik.
Hadith:
Fātimah (raḍiy Allāhu ‘anhā) the daughter of the Messenger of Allah ﷺ said: "Whenever the Messenger of Allah ﷺ entered the mosque he would say: 'In the Name of Allah. Peace be upon the Messenger of Allah. O Allah, forgive my sins. O Allah, open the gates of Your mercy for me.' When he left he would say: In the Name of Allah. Peace be upon the Messenger of Allah. O Allah, I ask You from Your bounty. (Ibn Mājah 771)
Abū Usayd (raḍiy Allāhu ‘anhu) reported that the Messenger of Allah ﷺ said: "When any one of you enters the mosque, he should say: 'O Allah, open the gates of Your mercy for me.'; and when he steps out he should say: 'O Allah, I ask You from Your bounty.'" (Muslim 713)
Dua 1 When Leaving the Masjid :
بِسْمِ اللّٰهِ ، وَالصَّلَاةُ وَالسَّلَامُ عَلَىٰ رَسُوْلِ اللّٰهِ ، اَللّٰهُمَّ إِنِّيْ أَسْأَلُكَ مِنْ فَضْلِكَ
Translation :
In the Name of Allah. Peace and blessings be upon the Messenger of Allah. O Allah, I ask You from Your bounty.
Transliteration :
Bismi-llāh, wa-ṣ-ṣalātu wa-s-salāmu ʿalā rasūl-illāh, allāhumma innī as’aluka min faḍlik.
Dua 2 When Leaving the Masjid :
اَللّٰهُمَّ اعْصِمْنِيْ مِنَ الشَّيْطَانِ الرَّجِيْمِ
Translation :
O Allah, protect me from the rejected Shaytān.
Transliteration :
Allāhumma-ʿṣimnī mina-sh-shayṭāni-r-rajīm.