Mosque Etiquette (Adab al-Masjid)
Suggest editThe mosque (masjid, مسجد — literally "place of prostration") is the most sacred communal space in Islam. The Prophet described the mosque as "the house of every pious person" (al-Tabarani), and the Quran commands: "In houses that Allah has ordered to be raised, in which His name is remembered" (24:36). The mosque is not merely a building for ritual prayer — it is the center of community life, education, social support, and the living expression of the Muslim ummah gathered together. This sacred status brings with it a set of etiquettes (adab al-masjid) derived from the Quran, Sunnah, and the practice of the Companions.
Before Entering the Mosque
Purity is the prerequisite. One must be in a state of wudu (minor ritual purity) to sit in the mosque, and in a state of ghusl (major purity) to enter if one is in a state of major ritual impurity. One should wear clean, modest, and dignified clothing — the Quran commands taking adornment for every place of worship (7:31). Strong odors — whether from raw garlic, onion, or any other pungent substance — should be avoided, as the Prophet prohibited those who had eaten them from entering the mosque until the smell had dissipated, out of consideration for fellow worshippers and angels (Muslim). The Sunnah supplication upon entering is: Bismillah, allahumma salli ala Muhammad, allahumma iftah li abwab rahmatik ("In the name of Allah, O Allah, send blessings upon Muhammad, O Allah, open for me the doors of Your mercy"), entering with the right foot.
Inside the Mosque: Immediate Etiquettes
Upon entering, the Sunnah is to immediately pray two rak'ahs of Tahiyyat al-Masjid (greeting of the mosque) before sitting. The Prophet prohibited sitting down upon entering the mosque until one had prayed these two rak'ahs (Bukhari and Muslim). This practice transforms the act of entering a mosque into an immediate act of worship and signals to oneself that this is a sacred space. While in the mosque, one may engage in Quran recitation (silently or quietly), dhikr, supplication, or learning. Sleeping in the mosque is permitted — the Companions would sleep there — but must not cause harm to others.
Conduct During Prayer Times
Straightening and filling the rows completely before congregational prayer is a Sunnah the Prophet emphasized repeatedly: "Straighten your rows, for the straightening of rows is part of the perfection of prayer" (Bukhari and Muslim). Worshippers should not leave gaps between them. One should not walk in front of a person who is praying — if there is no sutrah (a barrier in front of the worshipper), passing in front is a serious violation. The Prophet said: "If the one who passes in front of a praying person knew what he was incurring, he would find standing forty to be better than passing in front of him" (Bukhari and Muslim).
Prohibited Activities
Certain activities are explicitly prohibited in the mosque. Buying and selling is forbidden: the Prophet said when you see someone buying or selling in the mosque, say: "May Allah not make your trade profitable" (Tirmidhi). Lost-and-found announcements in the traditional seeking-return-from-strangers fashion are prohibited. Raising voices unnecessarily, arguing, or causing disturbance is disrespectful. Passing wind (without excusing oneself and leaving to renew wudu) near worshippers causes disturbance. Non-Muslims entering the mosque is a matter of scholarly difference; the majority of scholars permit it for educational purposes, though Masjid al-Haram in Makkah is the absolute exception where non-Muslims are categorically prohibited by the Quran (9:28).
Community Spirit in the Mosque
The mosque is where community forms and maintains itself. The Prophet said: "The one who is most attached to mosques — Allah will place shade over him on the day when there is no shade except His shade" (Bukhari). Coming early to congregational prayer, taking a front row, maintaining one's spot, and greeting neighbors with salaam all build the connective tissue of community. The Imam's role extends beyond leading prayer to the pastoral care of the community, and the mosque's role extends to feeding the hungry, housing travelers, providing education, and resolving disputes — as it did throughout Islamic history.