A blessed dua for entering mosque in Islam turns a simple step through a doorway into an act of worship. The mosque is the house of Allah on earth — the place where believers bow together, where the Quran is recited and where hearts find peace after the noise of the world. The Prophet Muhammad (peace be upon him) did not let a single part of this journey pass without remembrance. He taught us what to say when leaving home, while walking to the masjid, at the door, inside and on the way out. This article brings you 21 authentic duas for entering mosque in Islam and the duas connected to it, from the Quran and the Sunnah, each with Arabic, transliteration and translation, along with the etiquette of the mosque, so every visit to the house of Allah becomes full of reward, mercy and blessing.
Table of Contents
- Dua for Entering Mosque in Islam: Why It Matters
- 21 Duas for Entering Mosque in Islam
- Duas for Leaving Home and Walking to the Mosque
- Duas at the Mosque Door
- Duas Inside the Mosque
- Duas After Prayer and When Leaving the Mosque
- Best Times to Make Dua for Entering Mosque in Islam
- How to Make Dua for Entering Mosque in Islam
- FAQs About Dua for Entering Mosque in Islam
- Conclusion
Dua for Entering Mosque in Islam: Why It Matters
The mosques belong to Allah alone. He says, “And the mosques are for Allah, so do not invoke anyone along with Allah” (Quran 72:18). He describes them as “houses which Allah has ordered to be raised and that His name be mentioned therein; exalting Him within them in the morning and the evenings” (Quran 24:36). And He honours the people who look after them: “The mosques of Allah are only to be maintained by those who believe in Allah and the Last Day, establish prayer and give zakah, and do not fear except Allah” (Quran 9:18).
Entering such a house is not like entering any other building. You are a guest of Allah, and the Prophet (peace be upon him) taught that whoever goes to the mosque in the morning or the evening, Allah prepares for him a place of hospitality in Paradise every time he goes (Sahih al-Bukhari and Sahih Muslim). Each step towards the mosque raises you a degree and wipes away a sin (Sahih Muslim). With such a great reward waiting, it is only right that a believer enters with words of remembrance on his tongue.
This is why the dua for entering mosque in Islam matters. When you say “Allahummaftah li abwaba rahmatik” — “O Allah, open for me the gates of Your mercy” — you are asking for the very thing the mosque was built for: Allah’s mercy. And when you seek refuge from Satan at the door, the Prophet (peace be upon him) said Satan gives up on you for the rest of the day (Sunan Abi Dawud). A few short words at the door protect your prayer, your heart and your whole day.
21 Duas for Entering Mosque in Islam
Below are 21 duas for entering mosque in Islam and the duas that go with it, in the order you will need them: leaving home and walking to the mosque, at the door, inside the mosque, and after prayer and on the way out. Learn the main dua for entering mosque in Islam first (number 4), then add the others step by step.
Duas for Leaving Home and Walking to the Mosque
1. Dua When Leaving Home (Sunan Abi Dawud and Jami’ at-Tirmidhi)
Arabic: بِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ، وَلَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ
Transliteration: Bismillah, tawakkaltu ‘alallah, wa la hawla wa la quwwata illa billah
Translation: “In the name of Allah, I place my trust in Allah, and there is no power and no strength except with Allah.” The Prophet (peace be upon him) said that whoever says this when leaving home is told: you are guided, sufficed and protected, and Satan moves away from him.
2. Refuge from Going Astray (Sunan Abi Dawud and Jami’ at-Tirmidhi)
Arabic: اللَّهُمَّ إِنِّي أَعُوذُ بِكَ أَنْ أَضِلَّ أَوْ أُضَلَّ، أَوْ أَزِلَّ أَوْ أُزَلَّ، أَوْ أَظْلِمَ أَوْ أُظْلَمَ، أَوْ أَجْهَلَ أَوْ يُجْهَلَ عَلَيَّ
Transliteration: Allahumma inni a’udhu bika an adilla aw udall, aw azilla aw uzall, aw azlima aw uzlam, aw ajhala aw yujhala ‘alayy
Translation: “O Allah, I seek refuge in You from going astray or being led astray, from slipping or being made to slip, from wronging others or being wronged, and from behaving foolishly or being treated foolishly.” Umm Salamah reported that the Prophet (peace be upon him) said this whenever he left his house.
3. Dua of Light While Walking to Prayer (Sahih Muslim)
Arabic: اللَّهُمَّ اجْعَلْ فِي قَلْبِي نُورًا، وَفِي لِسَانِي نُورًا، وَاجْعَلْ فِي سَمْعِي نُورًا، وَاجْعَلْ فِي بَصَرِي نُورًا، وَاجْعَلْ مِنْ خَلْفِي نُورًا، وَمِنْ أَمَامِي نُورًا، وَاجْعَلْ مِنْ فَوْقِي نُورًا، وَمِنْ تَحْتِي نُورًا، اللَّهُمَّ أَعْطِنِي نُورًا
Transliteration: Allahummaj’al fi qalbi nura, wa fi lisani nura, waj’al fi sam’i nura, waj’al fi basari nura, waj’al min khalfi nura, wa min amami nura, waj’al min fawqi nura, wa min tahti nura, Allahumma a’tini nura
Translation: “O Allah, place light in my heart and light on my tongue, light in my hearing and light in my sight, light behind me and light in front of me, light above me and light below me. O Allah, grant me light.” Ibn Abbas reported that the Prophet (peace be upon him) went out to the prayer saying this.
Duas at the Mosque Door
4. The Main Dua for Entering the Mosque (Sahih Muslim)
Arabic: اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Transliteration: Allahummaftah li abwaba rahmatik
Translation: “O Allah, open for me the gates of Your mercy.” The Prophet (peace be upon him) said, “When one of you enters the mosque, let him say: O Allah, open for me the gates of Your mercy.” This is the core dua for entering mosque in Islam — short, easy to memorise and full of meaning.
5. The Complete Entry Dua with Salam on the Prophet (Sunan Ibn Majah)
Arabic: بِسْمِ اللَّهِ، وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ، اللَّهُمَّ اغْفِرْ لِي ذُنُوبِي، وَافْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Transliteration: Bismillah, was-salamu ‘ala Rasulillah, Allahummaghfir li dhunubi, waftah li abwaba rahmatik
Translation: “In the name of Allah, and peace be upon the Messenger of Allah. O Allah, forgive me my sins and open for me the gates of Your mercy.” Fatimah (may Allah be pleased with her) reported that her father said this when entering the mosque.
6. Refuge from Satan at the Door (Sunan Abi Dawud)
Arabic: أَعُوذُ بِاللَّهِ الْعَظِيمِ، وَبِوَجْهِهِ الْكَرِيمِ، وَسُلْطَانِهِ الْقَدِيمِ، مِنَ الشَّيْطَانِ الرَّجِيمِ
Transliteration: A’udhu billahil-‘Azim, wa bi wajhihil-Karim, wa sultanihil-qadim, minash-shaytanir-rajim
Translation: “I seek refuge in Allah the Magnificent, in His Noble Face and in His eternal authority, from Satan the accursed.” The Prophet (peace be upon him) said this when entering the mosque, and taught that when a person says it, Satan says, “He has been protected from me for the rest of the day.”
Duas Inside the Mosque
7. Words of Contentment After the Adhan (Sahih Muslim)
Arabic: وَأَنَا أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، وَأَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ، رَضِيتُ بِاللَّهِ رَبًّا، وَبِمُحَمَّدٍ رَسُولًا، وَبِالْإِسْلَامِ دِينًا
Transliteration: Wa ana ashhadu an la ilaha illallahu wahdahu la sharika lah, wa anna Muhammadan ‘abduhu wa rasuluh, raditu billahi Rabban, wa bi Muhammadin rasulan, wa bil-Islami deena
Translation: “And I bear witness that there is no god but Allah alone, without partner, and that Muhammad is His servant and Messenger. I am pleased with Allah as Lord, with Muhammad as Messenger and with Islam as religion.” The Prophet (peace be upon him) said whoever says this on hearing the muadhin will have his sins forgiven.
8. Dua After the Adhan (Sahih al-Bukhari)
Arabic: اللَّهُمَّ رَبَّ هَذِهِ الدَّعْوَةِ التَّامَّةِ، وَالصَّلَاةِ الْقَائِمَةِ، آتِ مُحَمَّدًا الْوَسِيلَةَ وَالْفَضِيلَةَ، وَابْعَثْهُ مَقَامًا مَحْمُودًا الَّذِي وَعَدْتَهُ
Transliteration: Allahumma Rabba hadhihid-da’watit-tammah, was-salatil-qa’imah, ati Muhammadanil-wasilata wal-fadilah, wab’athhu maqamam-mahmudanilladhi wa’adtah
Translation: “O Allah, Lord of this perfect call and the prayer about to be established, grant Muhammad the wasilah and the excellence, and raise him to the praised station You have promised him.” The Prophet (peace be upon him) said whoever says this after the adhan will receive his intercession on the Day of Judgement.
9. The Opening Dua of Prayer (Sunan Abi Dawud and Jami’ at-Tirmidhi)
Arabic: سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، وَتَبَارَكَ اسْمُكَ، وَتَعَالَى جَدُّكَ، وَلَا إِلَهَ غَيْرُكَ
Transliteration: Subhanakallahumma wa bihamdik, wa tabarakasmuk, wa ta’ala jadduk, wa la ilaha ghayruk
Translation: “Glory be to You, O Allah, and praise be to You. Blessed is Your name, exalted is Your majesty, and there is no god but You.” Recite it at the start of your two rak’ahs of greeting the mosque and in every prayer.
10. Glorifying Allah in Sujood (Sahih Muslim)
Arabic: سُبْحَانَ رَبِّيَ الْأَعْلَى
Transliteration: Subhana Rabbiyal-A’la
Translation: “Glory be to my Lord, the Most High.” The Prophet (peace be upon him) said this in his prostration. After it, make your personal duas, because the servant is closest to his Lord in sujood (Sahih Muslim).
11. Dua to Establish Prayer (Quran 14:40)
Arabic: رَبِّ اجْعَلْنِي مُقِيمَ الصَّلَاةِ وَمِن ذُرِّيَّتِي ۚ رَبَّنَا وَتَقَبَّلْ دُعَاءِ
Transliteration: Rabbij-‘alni muqimas-salati wa min dhurriyyati, Rabbana wa taqabbal du’a
Translation: “My Lord, make me an establisher of prayer, and from my descendants. Our Lord, and accept my supplication.” Inside the house of Allah, ask Him to make you and your children people of the mosque.
12. Dua of Ibrahim at the House of Allah (Quran 2:127)
Arabic: رَبَّنَا تَقَبَّلْ مِنَّا ۖ إِنَّكَ أَنتَ السَّمِيعُ الْعَلِيمُ
Transliteration: Rabbana taqabbal minna, innaka antas-Sami’ul-‘Alim
Translation: “Our Lord, accept this from us. Indeed, You are the Hearing, the Knowing.” Ibrahim and Isma’il said this while raising the foundations of the Kaaba, the first house of worship. Say it after every prayer you offer in the mosque.
13. The Straight Path (Quran 1:6)
Arabic: اهْدِنَا الصِّرَاطَ الْمُسْتَقِيمَ
Transliteration: Ihdinas-siratal-mustaqeem
Translation: “Guide us to the straight path.” The greatest dua of the Quran, recited in every rak’ah. Let it remind you why you came to the mosque: to ask Allah for guidance.
Duas After Prayer and When Leaving the Mosque
14. Seeking Forgiveness After Prayer (Sahih Muslim)
Arabic: أَسْتَغْفِرُ اللَّهَ، أَسْتَغْفِرُ اللَّهَ، أَسْتَغْفِرُ اللَّهَ، اللَّهُمَّ أَنْتَ السَّلَامُ وَمِنْكَ السَّلَامُ، تَبَارَكْتَ يَا ذَا الْجَلَالِ وَالْإِكْرَامِ
Transliteration: Astaghfirullah, Astaghfirullah, Astaghfirullah. Allahumma antas-Salam wa minkas-salam, tabarakta ya dhal-jalali wal-ikram
Translation: “I seek Allah’s forgiveness (three times). O Allah, You are Peace and from You comes peace. Blessed are You, O Owner of majesty and honour.” The Prophet (peace be upon him) said this immediately after finishing his prayer.
15. Dua for Help in Worship (Sunan Abi Dawud and Sunan an-Nasa’i)
Arabic: اللَّهُمَّ أَعِنِّي عَلَى ذِكْرِكَ وَشُكْرِكَ وَحُسْنِ عِبَادَتِكَ
Transliteration: Allahumma a’inni ‘ala dhikrika wa shukrika wa husni ‘ibadatik
Translation: “O Allah, help me to remember You, to thank You and to worship You in the best way.” The Prophet (peace be upon him) told Mu’adh ibn Jabal never to leave this after any prayer.
16. Dua for Good in Both Worlds (Quran 2:201)
Arabic: رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ
Transliteration: Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina ‘adhaban-nar
Translation: “Our Lord, give us good in this world and good in the Hereafter, and protect us from the punishment of the Fire.” Anas reported that this was the dua the Prophet (peace be upon him) made most often.
17. Dua at the End of a Gathering (Jami’ at-Tirmidhi and Sunan Abi Dawud)
Arabic: سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا أَنْتَ، أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ
Transliteration: Subhanakallahumma wa bihamdik, ashhadu an la ilaha illa ant, astaghfiruka wa atubu ilayk
Translation: “Glory be to You, O Allah, and praise be to You. I bear witness that there is no god but You. I seek Your forgiveness and turn to You in repentance.” Say it at the end of a lesson or circle of knowledge in the mosque; the Prophet (peace be upon him) said it expiates what happened in that gathering.
18. The Main Dua for Leaving the Mosque (Sahih Muslim)
Arabic: اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Transliteration: Allahumma inni as’aluka min fadlik
Translation: “O Allah, I ask You from Your bounty.” It is the companion of the entry dua in the same hadith: you enter asking for mercy, and you leave asking for Allah’s bounty as you return to work and daily life.
19. The Complete Exit Dua (Sunan Ibn Majah)
Arabic: بِسْمِ اللَّهِ، وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ، اللَّهُمَّ اغْفِرْ لِي ذُنُوبِي، وَافْتَحْ لِي أَبْوَابَ فَضْلِكَ
Transliteration: Bismillah, was-salamu ‘ala Rasulillah, Allahummaghfir li dhunubi, waftah li abwaba fadlik
Translation: “In the name of Allah, and peace be upon the Messenger of Allah. O Allah, forgive me my sins and open for me the gates of Your bounty.” Fatimah (may Allah be pleased with her) reported this as the Prophet’s words when leaving the mosque.
20. Protection from Satan When Leaving (Sunan Ibn Majah)
Arabic: اللَّهُمَّ اعْصِمْنِي مِنَ الشَّيْطَانِ الرَّجِيمِ
Transliteration: Allahumma’simni minash-shaytanir-rajim
Translation: “O Allah, protect me from Satan the accursed.” Abu Hurairah reported that the Prophet (peace be upon him) taught saying this, after sending peace upon him, when leaving the mosque.
21. Dua in Your Own Words When Entering the Mosque
Translation: “O Allah, I have come to Your house as Your guest, carrying my sins, my worries and my needs. Open for me the gates of Your mercy, accept my prayer, and let me leave this place lighter than I came. Make my heart attached to the mosques, make me among those who walk to them in the darkness of night and dawn, and make my children and family people of the masjid. Ameen.”
Best Times to Make Dua for Entering Mosque in Islam
The dua for entering mosque in Islam is said every single time you step into a masjid — for the five daily prayers, for Jumu’ah, for Taraweeh, for a lesson or just to sit and remember Allah. It is not tied to a particular hour; it is tied to the act of entering. But some visits carry extra reward. The Prophet (peace be upon him) gave glad tidings of complete light on the Day of Judgement to those who walk to the mosques in darkness (Sunan Abi Dawud and Jami’ at-Tirmidhi), so Fajr and Isha are especially precious.
Once you have said the dua for entering mosque in Islam and are inside, make the most of the blessed times: the dua between the adhan and the iqamah is not rejected (Sunan Abi Dawud and Jami’ at-Tirmidhi), and the angels keep praying for you as long as you stay in your place of prayer waiting for the salah (Sahih al-Bukhari). Arrive early, and spend that time in dua and Quran. For more duas and blessings, visit faithblesswave.com.
How to Make Dua for Entering Mosque in Islam
Prepare before you go. Make wudu at home, wear clean and good clothes — Allah says, “O children of Adam, take your adornment at every mosque” (Quran 7:31) — and avoid eating raw garlic or onion before going, as the Prophet (peace be upon him) told those who had eaten them not to approach the mosque (Sahih al-Bukhari and Sahih Muslim). Walk calmly, saying the duas for leaving home and the dua of light.
At the door, step in with your right foot, as the Prophet (peace be upon him) loved to begin with the right in all his affairs (Sahih al-Bukhari and Sahih Muslim). Send peace upon him and say the dua for entering mosque in Islam: “Allahummaftah li abwaba rahmatik.” Before you sit, pray two rak’ahs to greet the mosque, as he commanded (Sahih al-Bukhari and Sahih Muslim). Keep your voice low, do not pass in front of people praying, and keep your phone silent. When you leave, step out with your left foot and say “Allahumma inni as’aluka min fadlik.” Learn more at faithblesswave.com.
Read more about the history, architecture and role of mosques in Muslim life on Wikipedia.
FAQs About Dua for Entering Mosque in Islam
What is the dua for entering mosque in Islam?
The main dua for entering mosque in Islam is “Allahummaftah li abwaba rahmatik” — “O Allah, open for me the gates of Your mercy” (Sahih Muslim). A fuller version is “Bismillah, was-salamu ‘ala Rasulillah, Allahummaghfir li dhunubi, waftah li abwaba rahmatik” (Sunan Ibn Majah).
What is the dua for leaving the mosque?
When leaving, say “Allahumma inni as’aluka min fadlik” — “O Allah, I ask You from Your bounty” (Sahih Muslim). You can also say “Allahumma’simni minash-shaytanir-rajim” — “O Allah, protect me from Satan the accursed” (Sunan Ibn Majah).
Which foot should I enter the mosque with?
Enter with the right foot and leave with the left. The Prophet (peace be upon him) loved to start with the right in all good matters (Sahih al-Bukhari and Sahih Muslim), and scholars have long taught entering the mosque with the right foot and leaving with the left as part of its etiquette.
What should I do after entering the mosque?
Pray two rak’ahs before sitting down, known as Tahiyyat al-Masjid. The Prophet (peace be upon him) said, “When one of you enters the mosque, let him pray two rak’ahs before he sits” (Sahih al-Bukhari and Sahih Muslim). Then use your time for dhikr, Quran and dua until the prayer begins.
Can women say the dua for entering the mosque?
Yes. The dua for entering mosque in Islam and the dua for leaving it are for every Muslim, man or woman, who enters the house of Allah. Fatimah (may Allah be pleased with her) herself narrated the Prophet’s dua for entering and leaving the mosque (Sunan Ibn Majah).
Conclusion
Every visit to the mosque is a visit to the house of Allah, and a guest should arrive with the right words. A sincere dua for entering mosque in Islam asks Allah to open the gates of His mercy, protects you from Satan for the rest of the day and turns a simple doorway into a door of reward. These 21 duas guide you through the whole journey: leaving home, walking in light, entering the masjid, praying inside and leaving with Allah’s bounty. Start with the two easiest — “Allahummaftah li abwaba rahmatik” on the way in and “Allahumma inni as’aluka min fadlik” on the way out — teach them to your children, and let your heart stay attached to the mosques. Explore more duas at faithblesswave.com.