The short answer
What is a mosque? A mosque, or masjid in Arabic, is a place of worship for Muslims. Al-Jinn 72:18 says the mosques belong to Allah, so no one is to be called on alongside Him. The Muslim Council of Britain's visitor guide adds that mosques welcome visitors and do community work.
What does the Quran say about mosques?
The Quran calls mosques places of worship, and says they belong to Allah alone. The verse goes on to say that no one should be prayed to alongside Him. The verse is about worship and calling on Allah alone. It is not evidence for any visitor rule, such as shoes, dress or who may enter.
وَأَنَّ ٱلْمَسَـٰجِدَ لِلَّهِ فَلَا تَدْعُوا۟ مَعَ ٱللَّهِ أَحَدًا
Where do Muslims worship?
Muslims worship in mosques, which the Quran calls places of worship. The hadith also makes the earth itself a place of prayer. In a report in Sahih al-Bukhari, the Prophet Muhammad, peace be upon him, said that the earth had been made for him a mosque and a means of purification. He added that a man of his community whose prayer time arrived should pray.
Sahih al-Bukhari 335
وَجُعِلَتْ لِيَ الأَرْضُ مَسْجِدًا وَطَهُورًا، فَأَيُّمَا رَجُلٍ مِنْ أُمَّتِي أَدْرَكَتْهُ الصَّلاَةُ فَلْيُصَلِّ
wa-juʻilat lī al-arḍu masjidan wa-ṭahūran, fa-ayyumā rajulin min ummatī adrakathu aṣ-ṣalātu falyuṣalli
The earth has been made for me a mosque and a means of purification, so any man of my community whose prayer time arrives should pray.
1AuthenticSahih al-Bukhari 335
Sahih Muslim 521a reports the same five things in another wording, and says that the man whose prayer time arrived then prayed wherever he was.
2AuthenticSahih Muslim 521a
What should I do before I visit?
Look up the mosque's own website or contact its office, and check its stated hours. The Muslim Council of Britain's visitor guide says open days are drop-in and free. The campaign FAQ says most mosques welcome you to turn up on the day, though a few ask people to say they are coming, which is noted on the mosque's listing.
The visitor guide suggests that groups and school classes contact the mosque first, and says most mosques welcome private visits by arrangement. The FAQ says accessibility varies between mosques, so contact the mosque in advance if you have specific needs.
What should I wear?
According to the visitor guide, there is no strict dress code, but prayer areas are treated as sacred, so it suggests modest dress for men and women. The FAQ suggests modest, comfortable clothing that covers the shoulders and knees.
Women may wish to bring a scarf to cover their hair in the prayer area. The guide says this is usually optional for visitors. Each mosque may set its own expectations, so ask the one you plan to visit if you are unsure.
Wear shoes that are easy to take off, because you will be asked to remove them before the prayer hall. The FAQ suggests tidy socks as well.
What happens on a visit?
Every mosque is a little different. The visitor guide says you are usually welcomed by volunteers at a registration desk and shown to a main hall, often with tea. Many mosques offer guided tours of the building, and some show a short film or displays about Islam and the mosque's community work.
Refreshments are usually in a designated area. Eating and drinking do not take place in the prayer hall itself, the guide says.
How should I behave in the prayer area?
Visitor guidance, not a rule for every mosque. The points below are guidance for visitors. They do not establish a universal rule that every mosque follows.
Shoes: the FAQ says shoes come off in prayer areas 5. Follow your host's direction on where to leave them and where to sit or stand. Practice varies by mosque, so the host is the best guide on the day.
Photographs: the FAQ says these are usually allowed, but ask first, especially during prayers or of individual people 5.
Phone (our suggestion): keep your phone on silent. This is Ilmwell's general advice for any prayer room, not a rule that any particular mosque has set.
Donations: whether a mosque asks visitors for a donation, and how, is for that mosque to say. The FAQ says visits are free 5.
Can I watch a prayer, or join one?
Visitor guidance: you may be invited to watch a short prayer if one happens during your visit. The FAQ says you are welcome to watch respectfully, and you are never obliged to join in 5. This does not establish a rule that every mosque follows.
Many Muslims make wudu, the washing before prayer, before they pray. You can read how it is done in How to perform wudu: illustrated steps. Whether a visitor is asked to make wudu, and where to do it, is for the mosque to say.
What arrangements are there for women?
Arrangements vary by mosque. The FAQ says that accessibility varies between mosques, and that many have separate facilities for women 5. Before you go, ask where women sit and whether a woman host can show you around.
Who can go in?
The campaign welcomes neighbours of all faiths and none to its open days. The FAQ says you do not need to know anything about Islam to come, only bring your curiosity.
For a visit on another day, contact the mosque. The visitor guide says most mosques welcome private visits from schools, faith groups and anyone interested. Whether a particular mosque admits a visitor at a given time is for that mosque to say.
Families are welcome. Children come with an adult, and the FAQ says many mosques put on activities for children.
Is there a set of words for entering a mosque?
Sahih Muslim 713a reports the Prophet's words on entering and leaving a mosque.
Entering the mosque
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Allāhumma iftaḥ lī abwāba raḥmatik
O Allah, open for me the doors of Your mercy.
The report gives a second supplication for leaving.
Leaving the mosque
اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Allāhumma innī as'aluka min faḍlik
O Allah, I ask You of Your bounty.
3AuthenticSahih Muslim 713a
The report does not make these words a condition for entering a mosque, and it does not set them as a test for visitors. Anyone who wants to learn them can ask a teacher or join a mosque class.
What should I ask the host?
These are practical questions, not tests of what you know about Islam.
- Which time suits a first visit, and do I need to book?
- Is there step-free access, and is there a quiet space if I need one?
- May I watch a prayer, and where should I sit or stand?
- Are photographs allowed, and are there beginner classes or open days?
- Where should I leave my shoes, and does the mosque ask visitors for a donation?
What if I want to learn more about Islam?
If you are thinking about Islam, ask the host for a conversation or a beginner lesson. Two places to start are What is Islam and How to become Muslim, which sets out the testimony of faith and the first steps.
The first mosque I remember was a converted church near our house. My grandad took me, and the first thing he did was show me the shoe racks and where to make wudu. I remember the carpet being softer than anything we had at home.
Try it: three quick checks
Three questions. Each answer explains itself and points to its source.
1According to the Muslim Council of Britain's visitor guide, what are visitors asked to do before they enter the prayer hall?
Answer: Remove their shoes. The visitor guide says you will be asked to remove your shoes before entering the prayer hall.
2Can a visitor be expected to join a prayer during a visit?
Answer: No: they may watch respectfully and are never obliged to join. The campaign FAQ says you may be invited to observe a short prayer and are never obliged to join in.
3What does Sahih Muslim 713a give for entering a mosque?
Answer: A supplication asking Allah to open the doors of His mercy. The report gives the words O Allah, open for me the doors of Your mercy, and on leaving, asks Allah for His bounty. Source 3
Sources
Every claim on this page comes from one of these. Gradings are reported with the scholar's name; we do not grade hadith ourselves.
- 1
The Prophet Muhammad, peace be upon him, said that the earth had been made for him a mosque and a means of purification, and that whichever man of his community the time of prayer reached should pray.
Sahih al-Bukhari 335 Book 7, Hadith 2
Authentic: in Sahih al-Bukhari
- 2
The Prophet Muhammad, peace be upon him, said that the earth had been made for him pure, a means of purification and a mosque, and that a man whose time of prayer arrived then prayed wherever he was.
Sahih Muslim 521a Book 5, Hadith 3
Authentic: in Sahih Muslim
- 3
The Prophet Muhammad, peace be upon him, said that when one of his community enters the mosque they should say, O Allah, open for me the doors of Your mercy, and when they leave they should say, O Allah, I ask You of Your bounty.
Sahih Muslim 713a Book 6, Hadith 82
Authentic: in Sahih Muslim (Muslim). Remarks: Isnad sahih on the condition of Muslim (Shu'ayb al-Arna'ut); Isnad sahih (Khulasat al-Ahkam 1/314), with the remark that Muslim's narration has no greeting upon the Prophet before the supplication (Nawawi)
- 4
Quran Arabic and English for Al-Jinn 72:18.
Tanzil Project Uthmani text, CC BY 3.0. English: adapted from Marmaduke Pickthall's translation (1930), modernised and checked against modern translations.
- 5
The Visit My Mosque FAQ says that visits are usually drop-in and free, visitors are welcome of all faiths and none, shoes come off in prayer areas, and visitors are never obliged to join a prayer.
Visit My Mosque, "What to expect when you visit" (FAQ), Muslim Council of Britain Read on 28 October 2026. Campaign guidance, not a religious ruling.
- 6
The Visit My Mosque visitor's guide says that many mosques offer guided tours, that shoes come off before the prayer hall, and that most welcome private visits by arrangement.
Visit My Mosque, "Visitor's Guide: Visiting a mosque", Muslim Council of Britain Read on 28 October 2026. Campaign guidance, not a religious ruling.
Next
- What is IslamOverview
- How to become MuslimGuide
- How to perform wudu: illustrated stepsPractical guide
- How to pray Salah: learn the sequencePractical guide
- Jummah prayer explainedGuide
- Start at AlifThe hub
- How many Muslims in UK? Figures by nation and the worldExplainer
For your own situation, ask a scholar you trust.
Join the email list
New guides by email, now and then. No spam, and you can leave at any time.
Ilmwell is free and kept going by readers. See how to support it.