The mosque is the house of Allah ﷻ, and entering it carries its own beautiful etiquette. Knowing mosque etiquette, the adab of the mosque — how to enter, how to behave, and how to honour the sacredness of the place — lets us treat the house of Allah ﷻ with the reverence and dignity it deserves, and draw the fullest benefit from our time within it.
This piece builds on our earlier one: The Mosque as Community Hub: Why Attending Jumu’ah Changes More Than You Think — here we go deeper and more practical.
The mosque (masjid) is the house of Allah ﷻ, the most beloved of places to Him, and the heart of the Muslim community — a place of prayer, remembrance, learning, and gathering. The Prophet ﷺ said the most beloved places to Allah ﷻ are the mosques (Muslim 671). And entering and being in the house of Allah ﷻ carries its own beautiful etiquette — the adab of the mosque — taught by the Prophet ﷺ and the Sunnah, which honours the sacredness of the place and lets us draw the fullest benefit from our time within it. This mosque etiquette — how to enter, what to say, how to behave, what to avoid, and how to carry oneself with reverence and dignity in the house of Allah ﷻ — is part of honouring the sacred, and part of the beauty of Islam, which teaches manners and reverence in every setting. To know the adab of the mosque is to treat the house of Allah ﷻ with the reverence it deserves, to behave within it as befits its sacredness, and to make of every visit an act of worship and a source of blessing. So let us reflect on the etiquette of the mosque — the manners of entering, being in, and honouring the house of Allah ﷻ — that we may treat this sacred place with the dignity and reverence it calls for.
Entering and Leaving the Mosque
The adab of the mosque begins with how we enter and leave it, for the Sunnah teaches a beautiful etiquette for both. First, be in a state of cleanliness and wudu: it is from the adab of the mosque to come in a state of cleanliness — with wudu, in clean clothes, and in a presentable state — out of reverence for the house of Allah ﷻ. Second, avoid offensive smells: the Prophet ﷺ instructed that one who has eaten strong-smelling foods such as raw garlic or onion should not come near the mosque until the smell is gone, so as not to offend the worshippers and the angels (Bukhari 855) — so come in a clean and pleasant state, and it is recommended to apply perfume (for men). Third, enter with the right foot and the du‘a: it is Sunnah to enter the mosque with the right foot first, and to say the du‘a of entering: “Allahumma iftah li abwaba rahmatik” — “O Allah, open for me the doors of Your mercy” (Muslim 713). Fourth, send salawat on the Prophet ﷺ: it is from the Sunnah to send blessings upon the Prophet ﷺ upon entering. Fifth, pray tahiyyat al-masjid (the greeting of the mosque): the Prophet ﷺ taught that when one enters the mosque, one should not sit until praying two rak‘ahs — the greeting of the mosque (Bukhari 1163) — a beautiful way of greeting the house of Allah ﷻ with prayer. Sixth, leave with the left foot and the du‘a: it is Sunnah to leave the mosque with the left foot first, and to say: “Allahumma inni as’aluka min fadlik” — “O Allah, I ask You of Your bounty” (Muslim 713). So the adab of entering and leaving the mosque — coming in cleanliness and wudu, avoiding offensive smells (Bukhari 855), entering with the right foot and the du‘a of mercy, sending salawat, praying the greeting of the mosque (Bukhari 1163), and leaving with the left foot and the du‘a of bounty (Muslim 713) — frames every visit with reverence and remembrance, honouring the house of Allah ﷻ from the moment we step in to the moment we leave.
Conduct Inside the House of Allah ﷻ
Once inside, the adab of the mosque governs how we behave, that we honour the sacredness of the place. First, maintain reverence and calm: behave with reverence, calm, and dignity in the mosque, remembering that it is the house of Allah ﷻ — not a place for loud voices, commotion, running, or worldly rowdiness. Second, keep the voice low: keep the voice low in the mosque, especially avoiding disturbing those praying or remembering Allah ﷻ; even reciting Quran or making dhikr should not be so loud as to disturb others. Third, keep phones silent: silence mobile phones before entering the prayer area, for a ringing phone disturbs the worshippers and the sanctity of the prayer — a matter of modern adab flowing from the timeless principle of not disturbing others in the house of Allah ﷻ. Fourth, avoid worldly trade and lost-property calls: the Prophet ﷺ taught that the mosque is not for buying and selling, and that if one hears someone announcing a lost item in the mosque, one should say, “may Allah not return it to you,” for the mosques were not built for that (Muslim 568) — the mosque is for the worship and remembrance of Allah ﷻ, not for worldly business. Fifth, keep the mosque clean: keep the mosque clean and pure, for the Prophet ﷺ valued the cleanliness of the mosque greatly, and even praised the woman who used to clean it (Bukhari 458). Do not bring dirt, litter, or anything offensive into it. Sixth, straighten the rows and do not step over necks: in congregation, straighten and fill the rows, and on Jumu‘ah, do not step over people’s necks to get to the front, for the Prophet ﷺ rebuked this (Abu Dawud 1118) — come early instead. Seventh, engage in worship and beneficial acts: use your time in the mosque for what it is for — prayer, Quran, dhikr, learning, and beneficial gathering — and avoid idle talk and time-wasting in the house of Allah ﷻ. And eighth, respect those praying: do not walk directly in front of a person praying, disturb them, or crowd them; give worshippers their space and peace. So the adab inside the mosque — reverence and calm, a low voice, silent phones, avoiding worldly trade (Muslim 568), keeping it clean (Bukhari 458), straightening rows and not stepping over necks (Abu Dawud 1118), engaging in worship, and respecting those praying — honours the sacredness of the house of Allah ﷻ and lets us and others draw the fullest benefit and peace from being within it.
Enter the house of Allah ﷻ with reverence and the Sunnah. Honour the mosque from the moment you approach it: come in a state of cleanliness and wudu, in clean clothes, avoiding offensive smells such as raw garlic or onion, which the Prophet ﷺ told us keep us from the mosque until the smell is gone (Bukhari 855). Enter with the right foot first, saying the du‘a: “Allahumma iftah li abwaba rahmatik” — “O Allah, open for me the doors of Your mercy” (Muslim 713). Send blessings upon the Prophet ﷺ, and do not sit until you have prayed two rak‘ahs — the greeting of the mosque (Bukhari 1163). And leave with the left foot, asking Allah ﷻ of His bounty. This beautiful etiquette frames every visit with reverence and remembrance.
Behave inside as befits a sacred place. Within the mosque, carry yourself with reverence, calm, and dignity, remembering that it is the house of Allah ﷻ. Keep your voice low so as not to disturb those praying or remembering Allah ﷻ; silence your phone before entering the prayer area; and keep the mosque clean and pure, for the Prophet ﷺ greatly valued its cleanliness (Bukhari 458). Do not use it for worldly trade or the announcing of lost property, for the Prophet ﷺ taught the mosques were not built for that (Muslim 568). In congregation, straighten and fill the rows, and never step over people’s necks to reach the front — come early instead (Abu Dawud 1118). Use your time for prayer, Quran, dhikr, and learning, and give those praying their space and peace.
Make of every visit an act of worship. Let the adab of the mosque turn every visit into worship and a source of blessing. The mosque is the most beloved of places to Allah ﷻ (Muslim 671), and to enter it with reverence, behave within it with dignity, and use your time in it for prayer, remembrance, and learning is to honour the sacred and draw its fullest benefit. Treat the house of Allah ﷻ as the sacred place it is — entering with the Sunnah, behaving with reverence, keeping it clean and calm, and filling your time with worship — and every visit becomes a means of peace, blessing, and nearness to Allah ﷻ. The manners of the mosque are part of the beauty of Islam, which teaches reverence and good conduct in every setting, and most of all in the house of its Lord.
The mosque is the house of Allah ﷻ, the most beloved of places to Him (Muslim 671), and entering and being within it carries its own beautiful etiquette. Know the adab of the mosque — enter in cleanliness and wudu, avoiding offensive smells (Bukhari 855), with the right foot and the du‘a of mercy, sending salawat, and praying the greeting of the mosque (Bukhari 1163); behave within it with reverence, a low voice, silent phones, cleanliness (Bukhari 458), and dignity, avoiding worldly trade (Muslim 568) and stepping over necks (Abu Dawud 1118); and leave with the left foot and the du‘a of bounty. This mosque etiquette honours the sacredness of the place, and lets us and others draw the fullest benefit and peace from our time within it. So treat the house of Allah ﷻ with the reverence it deserves, enter and behave within it by the Sunnah, and make of every visit an act of worship and a source of blessing — that the mosque may be for you what it was for the Prophet ﷺ and his Companions ؓ: a place of prayer, remembrance, learning, peace, and nearness to the Lord of all the worlds.
Frequently Asked Questions
What is the du’a for entering the mosque?
When entering the mosque, it is Sunnah to enter with the right foot first and to say: “Allahumma iftah li abwaba rahmatik” — “O Allah, open for me the doors of Your mercy” (Muslim 713). It is also recommended to send blessings (salawat) upon the Prophet ﷺ upon entering. When leaving, it is Sunnah to leave with the left foot first and to say: “Allahumma inni as’aluka min fadlik” — “O Allah, I ask You of Your bounty” (Muslim 713). These beautiful du‘as frame your entry and exit with the seeking of Allah’s ﷻ mercy and bounty, and are part of the adab of the house of Allah ﷻ.
What is tahiyyat al-masjid?
Tahiyyat al-masjid — the “greeting of the mosque” — is two rak‘ahs of prayer that it is Sunnah to pray upon entering the mosque before sitting down. The Prophet ﷺ said, “when one of you enters the mosque, let him not sit until he has prayed two rak‘ahs” (Bukhari 1163). It is a way of greeting and honouring the house of Allah ﷻ with prayer rather than merely sitting. If one enters while the congregation is praying, or during a time when prayer is disliked, or if the obligatory prayer is the one being prayed, the rulings differ — but in general, entering the mosque and praying two rak‘ahs before sitting is a beloved and recommended Sunnah, a beautiful greeting of the sacred place.
Why can’t you eat garlic or onion before the mosque?
The Prophet ﷺ instructed that one who has eaten raw garlic, onion, or other strong-smelling foods should not come near the mosque until the smell is gone (Bukhari 855). This is out of consideration for the other worshippers, who should not be offended or distracted by an unpleasant smell, and out of reverence for the mosque and the angels present. It is not that garlic or onion are forbidden — they are perfectly permissible to eat — but that one should not come to the mosque with an offensive smell that disturbs others. The principle behind it is broader: come to the house of Allah ﷻ in a clean and pleasant state, not offending the worshippers with bad smells, whether from food, smoke, sweat, or anything else. It is part of the adab of honouring the mosque and considering others.
Can you talk about worldly matters in the mosque?
The mosque is primarily a place for the worship and remembrance of Allah ﷻ — prayer, Quran, dhikr, learning, and beneficial gathering — and the Prophet ﷺ taught that it was not built for worldly business, forbidding buying and selling in it and the announcing of lost property (Muslim 568). So the mosque should not be used for trade, worldly transactions, or idle and excessive worldly chatter that disturbs the worshippers and the sanctity of the place. That said, some beneficial and brief conversation — greeting others, discussing community matters, arranging good works, or speaking of beneficial things quietly — is not forbidden, as the Companions ؓ did converse in the mosque about beneficial matters. The key is to keep the mosque a place of reverence and worship, to keep the voice low, to avoid worldly trade and disruptive noise, and not to let idle talk crowd out the remembrance of Allah ﷻ for which the mosque exists.
Should phones be silenced in the mosque?
Yes — silencing mobile phones before entering the prayer area is an important part of modern mosque etiquette, flowing directly from the timeless principle of not disturbing the worshippers or the sanctity of the prayer. A ringing phone, especially during the prayer, disturbs everyone’s concentration (khushu) and the peace of the house of Allah ﷻ. So it is from the adab of the mosque to silence your phone before entering, and certainly before the prayer begins — and if you forget and it rings during the prayer, silence it as quietly and quickly as you can. The broader principle is reverence for the house of Allah ﷻ and consideration for fellow worshippers, of which silencing one’s phone is simply the contemporary expression.