Dua for Entering and Leaving the Mosque
“Allahummaftah li abwaba rahmatik” is an authentic dua from the Sunnah of the Prophet ﷺ, recorded in Sahih Muslim 713. Read it below in Arabic with transliteration and an English translation, and learn when to say it.
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Transliteration: Allahummaftah li abwaba rahmatik.
Translation: O Allah, open for me the gates of Your mercy.
Source: Sahih Muslim 713
When to recite
When entering the masjid, stepping in with the right foot; and the second dua when leaving, stepping out with the left foot. This is the Sunnah in a hadith of Anas, graded hasan by al-Albani (as-Silsilah as-Sahihah 2478).
About this dua
Narrated by Abu Humayd or Abu Usayd: the Messenger of Allah ﷺ said that when one of you enters the mosque he should say this, and when he leaves he should say “Allahumma inni as’aluka min fadlik”. Scholars note the beautiful pairing: on entering a place of worship one asks for mercy, and on leaving to return to work and daily life one asks for Allah’s bounty and provision.
Other wording and related dhikr
When leaving the mosque, say:
اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Allahumma inni as'aluka min fadlik.
O Allah, I ask You of Your bounty.
Source: Sahih Muslim 713
Source and authenticity
- Reference: Sahih Muslim 713
- Grading: Recorded in the Sahih collections of al-Bukhari and/or Muslim, the most authentic books of hadith.
- Read the source: Sahih Muslim 713
The English translation is our own, kept close to the Arabic. Hadith numbers follow the standard numbering used on sunnah.com.
Related duas
More in Duas for the Mosque and the Adhan · All duas