The duas for entering and leaving the mosque.
Dua for entering the mosque
On entering the mosque
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Allāhummaftaḥ lī abwāba raḥmatik
O Allah, open for me the doors of Your mercy.
Source: Muslim 713 · Arabic, meaning and source
Dua for leaving the mosque
On leaving the mosque
اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Allāhumma innī as’aluka min faḍlik
O Allah, I ask You of Your bounty.
Source: Muslim 713 · Arabic, meaning and source
Ask ʿIlm, the Islamic AI: answers from authentic hadith and the Quran
ʿIlm is Sunnah's free Islamic AI. Ask anything about worship, duas, the Prophet ﷺ or daily life, in any of 12 languages: it answers with authentic hadith and Quran verses, each with its reference (al-Bukhari, Muslim, the surah and ayah), adds short labelled guidance for questions about what to do, and never writes rulings of its own.
Ask ʿIlm a question