Dua for Entering Masjid
The authentic supplication recited upon entering the mosque — with Arabic text, transliteration, translation, and hadith reference.
The Dua for Entering Masjid
When a Muslim approaches the masjid (mosque), it is a confirmed Sunnah (mustahabb) to recite a specific dua before stepping inside with the right foot first. The Prophet Muhammad ﷺ taught this supplication to ask Allah ﷻ to open the gates of His mercy.
How to Enter the Masjid — Step by Step
Following the Sunnah of the Prophet ﷺ when entering the mosque involves a sequence of actions. This infographic summarises the complete etiquette.
Cleanliness
Ensure you have wudu (ablution). The masjid is the House of Allah ﷻ.
Right Foot First
Step inside leading with your right foot — a universal Sunnah of entering.
Recite the Dua
Say “Allahumma iftah li abwaba rahmatik” upon crossing the threshold.
Send Salawat
Send blessings upon the Prophet ﷺ — included in Dua 2 above.
Tahiyyatul Masjid
Pray two rak’ahs of Tahiyyatul Masjid before sitting — do not sit immediately.
When to Recite the Dua for Entering Masjid
This dua is recited every time you enter a mosque — for any of the five daily prayers, Jumu’ah (Friday prayer), voluntary prayers, or for Islamic classes and gatherings.
Fajr Prayer
At dawn — the most virtuous prayer of the day.
Dhuhr Prayer
The midday prayer after the sun passes its zenith.
Asr Prayer
The afternoon prayer — highly emphasised in the Quran.
Maghrib & Isha
Evening and night prayers at the mosque.
Jumu’ah
Friday prayer — a weekly obligation for Muslim men.
Islamic Class
Attending halaqahs, lectures, or Quran circles.
Benefits & Virtues of This Dua
Reciting the dua for entering the masjid is far more than a verbal formula. The scholars of Islam highlight several profound spiritual benefits rooted in the Quran and Sunnah.
Gates of Mercy Opened
The supplication literally asks Allah ﷻ to open the doors of His limitless mercy — directly fulfilled as a promise from this dua.
Following the Sunnah
Emulating the Prophet ﷺ earns immense reward. Every small Sunnah observed is an act of love for Allah ﷻ.
Sins Forgiven
The extended dua (Dua 2) explicitly asks for forgiveness of sins — transforming a simple act into a moment of spiritual cleansing.
Mindfulness of Allah
Reciting this dua anchors your intention — reminding you that you are entering the House of Allah ﷻ with consciousness (taqwa).
Angels Record Good Deeds
Visiting the mosque itself earns tremendous reward; adding this dua multiplies the goodness recorded by the angels.
Barakah in the Prayer
Beginning your time in the masjid with this dua sets a blessed tone, increasing focus and spiritual presence in Salah.
Masjid Etiquette — Do’s and Don’ts
| Etiquette | Recommended / Prohibited | Evidence |
|---|---|---|
| Enter with right foot first | ✔ Sunnah | General Sunnah (Bukhari 426) |
| Recite the entry dua | ✔ Mustahabb | Muslim 713a |
| Pray Tahiyyatul Masjid (2 rak’ah) | ✔ Sunnah Mu’akkadah | Bukhari 444, Muslim 714 |
| Lower your voice | ✔ Required | General adab of the masjid |
| Eating pungent food before entry | ✖ Disliked | Bukhari 853 (onion / garlic) |
| Making commercial transactions inside | ✖ Prohibited | Tirmidhi 1321 |
| Exit with left foot & recite exit dua | ✔ Sunnah | Muslim 713a |
| Stepping over people to find a spot | ✖ Disliked | Abu Dawud 1118 |
Dua for Leaving the Masjid
Just as there is a dua for entering, there is a corresponding supplication for leaving the masjid. You exit with the left foot first and recite:
Frequently Asked Questions
Related Duas You Should Know
Complete your masjid worship with these related Islamic supplications from our verified collection:
Authoritative Islamic References
Verify and deepen your knowledge through these globally trusted Islamic scholarly sources:
Summary — Key Takeaways
- ✅ Dua 1: Allahumma iftah li abwaba rahmatik — from Sahih Muslim. Recite upon stepping inside with your right foot.
- ✅ Dua 2 (Extended): Begins with Bismillah and Salawat, asks for forgiveness — from Ibn Majah (Hasan Sahih).
- ✅ After entering, pray Tahiyyatul Masjid (2 rak’ahs) before sitting.
- ✅ Upon leaving, step out left foot first and say: Allahumma inni as’aluka min fadlik.
- ✅ This dua applies to all Muslims — men, women, and children — at any time of entry.
- ✅ The status of this dua is Mustahabb (highly recommended) — not obligatory, but enormously rewarding.