Entering and leaving a masjid is a moment of worship, and the Prophet Muhammad (peace be upon him) taught short duas for both. Reciting them with understanding helps the heart stay focused on Allah.
Dua for Entering the Masjid
Allahummaftah li abwaba rahmatik
Meaning: O Allah, open for me the doors of Your mercy.
Enter with the right foot first, and recite the dua before you sit down.
Dua for Leaving the Masjid
Allahumma inni as’aluka min fadlik
Meaning: O Allah, I ask You for Your bounty.
Leave with the left foot first, and recite the dua before you step out.
Etiquettes Inside the Masjid
- Enter in a state of cleanliness and wear clean clothes.
- Pray two rak’ahs of Tahiyyat-ul-Masjid before sitting, if you are able.
- Keep your voice low and avoid unnecessary talk.
- Keep the masjid clean and avoid bringing in anything that disturbs others.
Frequently Asked Questions
Which foot should I use when entering the masjid?
It is recommended to enter with the right foot first, and leave with the left foot first.
Is Tahiyyat-ul-Masjid compulsory?
It is a recommended prayer, and many scholars encourage it. It is not one of the obligatory prayers.
Can women recite these duas too?
Yes. These duas are for everyone who enters or leaves a masjid.
To learn the basics of Namaz that you perform in the masjid, read our guide on the 14 wajibat of Namaz.