Knowledge Practical Guide

Mosque Etiquette — The Rules, Sunnah, and Proper Conduct in the Masjid

آدَابُ المَسجِدِ — أَحكَامُ المَسجِدِ وَسُنَنُهُ وَالآدَابُ الوَاجِبُ مُرَاعَاتُهَا
5 min read · 805 words

The mosque (*al-masjid* — the place of prostration; from *sajada* — to prostrate; the physical space dedicated to the worship of Allah) is the most sacred type of earthly space in Islam. The Prophet (SAW) said: *'The most beloved of places to Allah are the mosques.'* (Muslim) Every act within the mosque carries elevated reward; every act of disrespect carries elevated consequence. The Prophet (SAW) established specific protocols for the mosque that form the Sunnah (*adab al-masjid*) — from how to enter and what du'a to say, to how to sit and what to avoid within its walls. The first thing the Prophet (SAW) did upon arriving at Medina in the Hijra was to build a masjid — establishing the mosque as the primary institution of the Islamic community. The mosque is not merely a prayer hall; it is the center of Islamic community life — learning, consultation, social support, and spiritual renewal all flow from it. This article covers the complete etiquette of the mosque: the sunnah practices on entry and exit, what is prohibited inside, the Tahiyyat al-Masjid prayer, and the general conduct of the Muslim in the house of Allah.

Before Entering: The Preparation

Purity: Entering the mosque while in a state of major impurity (janaba, requiring ghusl) is forbidden for most scholars: “O you who have believed, do not approach prayer while you are intoxicated until you know what you are saying or in a state of janabah, unless passing through [a place of prayer], until you have washed.” (4:43) The mosque is a place of prayer; those in major impurity should not linger.

For minor impurity (requiring wudu): Scholars differ — entering without wudu to pass through or retrieve something is permitted by most schools; sitting and remaining in the mosque without wudu is disliked.

The miswaak (teeth-cleaning stick): The Prophet (SAW) said: “Were it not for the hardship on my Ummah, I would have commanded them to use the miswaak before every prayer.” (Bukhari) Cleaning the teeth before prayer, and especially before entering the mosque, is a emphasized Sunnah.

Removal of anything offensive: The Prophet (SAW) said: “Whoever eats garlic or onion should keep away from us and from our mosque.” (Bukhari) — Extending the principle: anything with a strong offensive smell (certain foods, poor hygiene, strong cologne that would disturb others in a tight space) should be addressed before entering the mosque.


Upon Entering

Which foot first: Enter with the right foot — as with entering all places of good.

The du’a upon entering: “Bismillah wal-salatu wal-salamu ‘ala Rasulillah. Allahumma iftah li abwab rahmatik.” (“In the name of Allah, and peace and blessings upon the Messenger of Allah. O Allah, open for me the gates of Your mercy.”)

Tahiyyat al-Masjid (Greeting the Mosque Prayer): The Prophet (SAW) said: “If one of you enters the mosque, let him not sit down until he has prayed two rak’at.” (Bukhari, Muslim) This two-rak’a prayer (called tahiyyat al-masjid — “greeting of the mosque”) is a Sunnah mu’akkada (emphasized Sunnah) performed before sitting. It is performed even if one enters during a sermon (Jumu’a khutbah), though briefly.


Conduct Inside the Mosque

Face the qiblah when possible: Though casual conversation and sitting sideways are permitted, orienting oneself toward the qiblah when sitting reflects consciousness of the space.

Maintain stillness and quietness: The mosque is a place of sukina (tranquility). Loud conversation, arguments, or raised voices are disliked.

What is specifically prohibited or strongly disliked:

What is permitted:


Exit Etiquette

Which foot first: Exit with the left foot.

The du’a upon leaving: “Bismillah wal-salatu wal-salamu ‘ala Rasulillah. Allahumma inni as’aluka min fadlik.” (“In the name of Allah, and peace and blessings upon the Messenger of Allah. O Allah, I ask You from Your bounty.”)

The change from “open the gates of mercy” (entering) to “I ask from Your bounty” (leaving) reflects the journey: entering the mosque for mercy and spiritual renewal; leaving it, returning to the world seeking its provisions from Allah.


The Prophet’s Mosque in Medina

The Prophet (SAW) built the first mosque of the Islamic state in Medina upon his arrival from the Hijra. He participated physically in its construction: carrying bricks alongside the Companions, and saying: “O Allah, there is no good except the good of the Hereafter; forgive the Ansar and Muhajirin.” The mosque served simultaneously as a place of prayer, the Prophet’s residence, a gathering point for community affairs, a school, and a hospice for the poor (ahl al-suffa).

The Masjid al-Haram in Mecca and the Masjid al-Nabawi in Medina have special status: prayer in the Haram is worth 100,000 ordinary prayers; prayer in the Masjid al-Nabawi is worth 1,000; prayer in Masjid al-Aqsa is worth 500. The third mosque of special status is Masjid al-Aqsa in Jerusalem.

See also: Understanding Namaz, Wudu, Friday Prayer, Qiblah, Post Namaz Routine, Ghusl

← All articles
← Previous
Halal Meat — The Complete Guide to Zabiha, Conditions, and Contemporary Questions
Next →
The Three Categories of Tawhid — Rububiyyah, Uluhiyyah, and Asma' wa Sifat

More in Practical Guide

← Back to all articles