On this page
What a mosque is
The Arabic word masjid means “a place of prostration” (sujūd): the place where people put their foreheads on the ground before God. A mosque is sometimes called the House of God. That is a title of honour, not a claim that God lives in a building.
Mosques hold a special place in Islam. The Prophet ﷺ said: “The parts of land dearest to Allah are its mosques” (Ṣaḥīḥ Muslim 671). Most are also community centres: classes, meals, help for people in need, and a place to meet other Muslims.
When the Prophet ﷺ arrived in Madinah, one of the first things he did was build a mosque. He stayed as a guest in Abū Ayyūb’s house, bought the land, and worked on the building alongside his Companions (Ṣaḥīḥ al-Bukhārī 428). Even after settling in Madinah, he kept going to the mosque at Qubāʾ on its outskirts: “The Prophet ﷺ used to go to the Mosque of Quba every Saturday (sometimes) walking and (sometimes) riding” (Ṣaḥīḥ al-Bukhārī 1193; also Ṣaḥīḥ Muslim 1399). From the very start, the mosque was the heart of the community.
Not Muslim yet? You are welcome to visit. You can sit quietly at the back and watch a prayer; nobody expects you to join in. It helps to contact the mosque first; many run open days and are glad to show visitors round.
Before you go
Check first. Mosques vary a lot, especially in what they offer women (see below). A quick message or call, or a look at their website, saves surprises. Our directory and finding community pages can help you find one.
Dress cleanly and modestly. The Qur’an says:
يَـٰبَنِىٓ ءَادَمَ خُذُوا۟ زِينَتَكُمْ عِندَ كُلِّ مَسْجِدٍ
Yā banī ādama khudhū zīnatakum ʿinda kulli masjid.
Children of Adam, dress well whenever you are at worship… – Qur’an 7:31 (Abdel Haleem)
You don’t need expensive or formal clothes, just clean, loose clothing that covers you properly. Women are usually asked to cover their hair in the prayer hall; bring a scarf, or ask, as many mosques keep spares. If you’re coming straight from work, come as you are.
Come fresh. The Prophet ﷺ said: “Whoever eats garlic or onion should keep away from our mosque” (Ṣaḥīḥ al-Bukhārī 855). The food is fine; the point is not to bring a strong smell into a crowded room. The same consideration applies to smoke and body odour.
Wuḍūʾ. It’s good to make wuḍūʾ at home. Many mosques have washing facilities, usually next to the toilets, but not all do, so check before visiting. If you haven’t learnt yet, ask someone to show you.
Getting there
Walking to the mosque is itself rewarded. The Prophet ﷺ said that when someone makes wuḍūʾ well and goes to the mosque only to pray, “for every step he takes towards the mosque, he is upgraded one degree in reward and his sin is forgiven” (Ṣaḥīḥ al-Bukhārī 647). If you need to drive, that’s fine too.
Don’t rush. Even if the prayer has started, walk calmly: “When you hear the iqāma, proceed to offer the prayer with calmness and solemnity and do not make haste. And pray whatever you are able to pray and complete whatever you have missed” (Ṣaḥīḥ al-Bukhārī 636).
Going in
Shoes off before the prayer area; there are racks by the door.
Say the duʿāʾ for entering, if you know it – or learn it now:
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Allāhumma-ftaḥ lī abwāba raḥmatik – “O Allah, open for me the gates of Your mercy.” And when leaving:
اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Allāhumma innī asʾaluka min faḍlik – “O Allah, I ask You of Your bounty” (Sunan al-Nasāʾī 729, graded ṣaḥīḥ by Darussalam; also Sunan Abī Dāwūd 465, ṣaḥīḥ according to al-Albānī).
Two rakʿahs before sitting. The Prophet ﷺ said: “If anyone of you enters a mosque, he should pray two rakʿāt before sitting” (Ṣaḥīḥ al-Bukhārī 444). This is a recommended prayer, not an obligation. If you haven’t learnt to pray yet, simply sit down.
Introduce yourself to the imam, someone on the committee or whoever is at the door. “I’m new to Islam” usually brings a warm welcome.
Inside
- Keep your voice low and your phone on silent. People may be praying, reading or resting.
- Don’t walk right in front of someone who is praying; go round behind them, or wait. The Prophet ﷺ warned strongly against it (Ṣaḥīḥ al-Bukhārī 510).
- Friday (Jumuʿah) around midday is the busiest time. The sermon (khuṭbah) comes before the prayer, and people sit and listen quietly while it is given. See Friday prayer: what happens and how to listen.
- Help keep it clean. Shoes on the racks, rubbish in the bin, the washing area tidy for the next person. A mosque is everyone’s responsibility.
- Men and women usually pray in separate areas – see below.
Women and the mosque
Women have prayed in mosques since the Prophet’s ﷺ own time, and he said: “Do not stop Allah’s women-slaves from going to Allah’s Mosques” (Ṣaḥīḥ al-Bukhārī 900).
In practice, facilities for women vary a great deal: some mosques have a full women’s floor and classes, others only a small room, and a few none at all. That’s a reason to check before you go, not a reflection on you. If one mosque has little for women, another nearby may be very different. Our directory lists organisations and programmes for sisters.
Bringing children
Children are welcome in mosques. The Prophet ﷺ once prayed while carrying his granddaughter Umāmah, putting her down when he prostrated and picking her up when he stood (Ṣaḥīḥ al-Bukhārī 516). He also said: “When I stand for prayer, I intend to prolong it but on hearing the cries of a child, I cut it short, as I dislike to trouble the child’s mother” (Ṣaḥīḥ al-Bukhārī 707).
So a crying baby isn’t a crime. Parents keep an eye on their children, and everyone else is patient. Start with shorter visits, such as a class or a single prayer, so children grow up feeling at home there.
If you get something wrong
You will, at some point – everyone does. Remember this story.
A desert Arab once came into the Prophet’s ﷺ mosque and began to urinate on the floor. The Companions shouted at him to stop. The Prophet ﷺ told them to leave him alone and to pour a bucket of water over the place, and said: “You have been sent to make things easy and not to make them difficult” (Ṣaḥīḥ al-Bukhārī 220). Then he called the man over and explained, kindly, that mosques are “only for the remembrance of Allah, prayer and the recitation of the Qur’an” (Ṣaḥīḥ Muslim 285).
That is the standard: the mosque is kept clean and respected, and people who don’t know are taught gently. If someone is harsh with you, that is their mistake, not yours. Try another time, or another mosque.
After your visit
If it felt good, go back; it gets easier every time. If it didn’t, try another one: mosques differ in language, culture and atmosphere. See finding community for halaqahs and new-Muslim classes, and how to pray when you’re ready to join the prayer.
Last reviewed 16 November 2026