DAWAH CODEX GUIDE

Etiquette of the mosque

By Dawah Codex · Updated 2026-11-27 · 3 min read

Please note: this is a general educational summary compiled from the sources listed below. It is not a fatwa. For your own situation or for rulings, please ask a qualified scholar.

The mosques of Allah are only to be maintained by those who believe in Allah and the Last Day.

Qur’an 9:18

Entering

  • Enter with the right foot saying: “Allahumma iftah li abwaba rahmatik” (Sahih Muslim).
  • Pray two units of greeting the mosque (tahiyyat al-masjid) before sitting (al-Bukhari and Muslim).

Inside

  • Keep it clean and avoid strong smells such as raw garlic and onion (Sahih Muslim).
  • Keep your voice low and do not disturb worshippers.
  • Do not pass in front of someone praying.
  • Do not buy or sell inside it.

Leaving

Leave with the left foot and say: “Allahumma inni as’aluka min fadlik.”

Children and women

Children and women are welcome. The Prophet ﷺ said not to prevent women from the mosques (al-Bukhari and Muslim).

Sources and scholars

  • The Qur’an 9:18, 72:18
  • Imam Muslim, Sahih Muslim, Book of Mosques
  • Imam al-Bukhari, Sahih al-Bukhari, Book of Salah

Frequently asked questions

Can I sleep in the mosque?

Yes, for a need, as some companions did.

What about phones?

Silence them out of respect for the worshippers.

← All guides