اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Allahumma-ftah li abwaba rahmatik.
O Allah, open for me the doors of Your mercy.
Source: Sahih Muslim 713
The sunnah dua to recite when entering any mosque — Arabic, transliteration, English meaning, and the hadith it is from.
Dua for Entering the Mosque is recited enter the mosque with the right foot first, then recite this dua.
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Allahumma-ftah li abwaba rahmatik.
O Allah, open for me the doors of Your mercy.
Source: Sahih Muslim 713
Enter the mosque with the right foot first, then recite this dua. Some narrations add: "Bismillah, was-salatu was-salamu ‘ala Rasulillah" before it.
The Prophet ﷺ taught: "When one of you enters the mosque, let him say: O Allah, open for me the doors of Your mercy. And when he leaves, let him say: O Allah, I ask You of Your favour." (Muslim 713)
Entering Masjid al-Haram or Masjid an-Nabawi multiplies the reward of prayer many times over. Beginning with this dua sets the heart in a state of seeking mercy from the moment you step inside.