The duas (supplications) for entering and leaving the mosque (Masjid)
When visiting the house of Allah (Masjid), it is Sunnah to recite specific duas upon entering and leaving. These duas remind us of Allah’s mercy, protection, and blessings — helping us maintain respect and spiritual focus in the mosque.
Below are the duas for entering and leaving the mosque with Arabic text, transliteration, English translation, and their benefits.
See also: Adhan in Arabic, English
Dua for Entering the Mosque
أَعوذُ بِاللّهِ العَظِيـمِ، وَبِوَجْهِـهِ الكَرِيـمِ وَسُلْطـَانِه القَدِيـمِ، مِنَ الشَّيْـطَانِ الرَّجِـيمِ، [ بِسْـمِ اللّهِ وَالصَّلَاةُ ] [وَالسَّلامُ عَلَى رَسُولِ اللّهِ]، اَللَّهُـمَّ افْتَـحْ لِي أَبْوَابَ رَحْمَتـِكَ.
Transliteration: aAAoothu billahil-AAatheem wabiwajhihil-kareem wasultanihil-qadeem minash-shaytanir-rajeem, [bismil-lah, wassalatu] [wassalamu AAala rasoolil-lah] , allahumma iftah lee abwaba rahmatik.
English Translation: I take refuge with Allah, The Supreme and with His Noble Face, and His eternal authority from the accursed devil. In the name of Allah, and prayers and peace be upon the Messenger of Allah. O Allah, open the gates of Your mercy for me.
Abu Dawud: 4591
Dua for Leaving the Mosque
بِسْمِ اللّهِ وَالصَّلاَةُ وَالسَّلاَمُ عَلَى رَسُولِ اللّهِ، اَللَّهُـمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْـلِكَ، اَللَّهُـمَّ اعْصِمْنِـي مِنَ الشَّيْـطَانِ الرَّجِـيمِ.
Transliteration: Bismil-lah wassalatu wassalamu AAala rasoolil-lah, allahumma innee as-aluka min fadlik, allahumma iAAsimnee minash-shaytanir-rajeem.
English Translation: In the name of Allah, and prayers and peace be upon the Messenger of Allah. O Allah, I ask You from Your favor. O Allah, guard me from the accursed devil.
Muslim: 1:494, Ibn Majah: 1:129
Benefits of these Duas
There are many spiritual benefits of reciting the dua when entering and leaving the mosque. Regularly reciting these du’as increases the reward and blessings of each visit to the mosque, and also helps in feeling inner peace and spiritual connection.
1. Benefits of Dua for entering the mosque:
- Invitation of Allah’s mercy: This dua asks Allah to open the doors of His mercy when entering the mosque, which brings blessings, mercy and spiritual inspiration.
- Helps in concentration: Reciting this dua while entering the mosque prepares the mind and heart for worship, which purifies the intention.
- Increases humility and respect in worship: Asking for mercy expresses one’s need to Allah, which brings humility in the heart and respect for the mosque.
- Increases concentration throughout worship: This dua helps to leave behind worldly worries and prepares the heart to fully devote itself to worship.
See Also: After Hearing Adhan Dua
2. Benefits of Dua when leaving the mosque:
- Requesting Allah’s blessings in worldly matters: This dua when leaving the mosque asks Allah to grant you mercy, guidance and blessings in your daily life.
- Reminders of Allah’s blessings: While saying this dua, one realizes Allah’s blessings and increases faith in His blessings in all that one does.
- Protection from worldly troubles: This dua gives inner strength to face worldly problems and challenges.
- Keeps the effect of worship: This dua when leaving the mosque keeps the positivity and spirituality of the mosque in your life.
Frequently Asked Questions — Duas for Entering & Leaving the Masjid
1. What is the dua for entering the masjid?
أَعوذُ بِاللّهِ العَظِيـمِ، وَبِوَجْهِـهِ الكَرِيـمِ وَسُلْطـَانِه القَدِيـمِ، مِنَ الشَّيْـطَانِ الرَّجِيمِ، [ بِسْـمِ اللّهِ وَالصَّلَاةُ ] [وَالسَّلامُ عَلَى رَسُولِ اللّهِ]، اَللَّهُـمَّ افْتَـحْ لِي أَبْوَابَ رَحْمَتـِكَ.
Transliteration: aAAoothu billahil-AAatheem … allahumma iftah lee abwaba rahmatik.
Meaning: “I take refuge with Allah, The Supreme … O Allah, open the gates of Your mercy for me.” (Abu Dawud: 4591)
2. What is the dua for leaving the masjid?
بِسْمِ اللّهِ وَالصَّلاَةُ وَالسَّلاَمُ عَلَى رَسُولِ اللّهِ، اَللَّهُـمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْـلِكَ، اَللَّهُـمَّ اعْصِمْنِـي مِنَ الشَّيْـطَانِ الرَّجِيمِ.
Transliteration: Bismil-lah wassalatu wassalamu … allahumma iAAsimnee minash-shaytanir-rajeem.
Meaning: “In the name of Allah … O Allah, I ask You from Your bounty. O Allah, guard me from the accursed devil.” (Muslim; Ibn Majah)
3. When should I recite these duas?
Recite the entering dua as you approach/enter the masjid. Recite the leaving dua when you depart after prayer or a visit. They are short, timely supplications for mercy, protection and maintaining focus.
4. Can these duas be recited silently?
Yes — they can be recited silently or softly spoken. The key is sincerity and understanding; quiet recitation is perfectly acceptable and often preferable in the masjid.
5. Why are these duas important?
These duas invite Allah’s mercy, increase humility and concentration, protect from Shaytan, and help you retain the spiritual benefits of the masjid in daily life.


