Advertisement

Can Muslims sleep in a mosque?

Interior of a hut with straw roof in a coffee restaurant near Li Phi Falls - Don Khon - Laos
Photo: Basile Morin, CC BY-SA 4.0 via Wikimedia Commons

Yes, Muslims can sleep in a mosque. Companions of the Prophet ﷺ slept in his mosque, and people in i'tikaf stay there day and night. Just follow the mosque's own rules, keep the place clean, and leave to take a bath if you have a wet dream.

The Companions slept in the mosque

Abdullah ibn Umar said he used to sleep in the Prophet's ﷺ mosque when he was young and unmarried (Sahih al-Bukhari 440). One day the Prophet ﷺ found his son-in-law Ali asleep there, covered in dust, and woke him kindly with a nickname, "Get up, Abu Turab" (father of dust) (Sahih al-Bukhari 441). The poor Companions known as the people of the Suffah lived in a shaded part of the mosque (Sahih al-Bukhari 442). So the mosque was never a place where a nap was out of place.

I'tikaf: staying in the mosque

I'tikaf means staying in the mosque for worship. The Prophet ﷺ did it in the last ten days of Ramadan every year until he died (Sahih al-Bukhari 2026), and the Quran mentions it directly:

وَلَا تُبَـٰشِرُوهُنَّ وَأَنتُمْ عَـٰكِفُونَ فِى ٱلْمَسَـٰجِدِ "...And do not have relations with them as long as you are staying for worship in the mosques." Quran 2:187

Many mosques in Europe and the USA open overnight for i'tikaf in Ramadan, with a sign-up sheet and a space for sisters.

Etiquette if you sleep there

  • Ask first. Most Western mosques lock up after Isha for safety and insurance reasons. Respect that; it's their right to set rules.
  • Keep it tidy. Use a mat or sleeping bag, don't block the prayer rows, and pack up before Fajr.
  • Wet dreams: a person in a state of major impurity (janabah) shouldn't stay in the prayer hall, according to most scholars (based on Quran 4:43). Leave quietly and take a ghusl.
  • Wudu: deep sleep breaks wudu, so renew it before you pray. See Does sleeping break wudu?
  • Bedtime adhkar: the usual sleep sunnahs apply here too. See What should I say before sleeping?

Short naps and travelers

A short rest between prayers, or a traveler resting before moving on, is fine. Try not to fall asleep while the khutbah is going on, and if you nod off, scholars recommend moving to a different spot to wake yourself up.

Key points
  • Sleeping in the mosque is allowed; Companions did it.
  • I'tikaf in Ramadan means staying there day and night.
  • Follow the mosque's rules on opening hours.
  • After a wet dream, leave and take a ghusl.
Tip: If you'd like to try i'tikaf, ask your mosque in early Ramadan whether it has a night program. Even one night in the last ten is a beautiful first experience.

People also ask

Can I eat garlic before going to the mosque?

Garlic is halal, but avoid the mosque with raw garlic or onion breath. Cook it well or freshen up first; the same goes for smoking and strong smells.

Read the full answer →
Can women pray in the main hall of the mosque?

Yes, women can pray in the main hall of the mosque: in the Prophet's mosque they prayed behind the men. Barriers came later and scholars differ.

Read the full answer →
Can the Friday khutbah be in English?

Can the Friday khutbah be in English? Hanafis allow it fully; other schools keep the core parts in Arabic and explain in English. Your Jumu'ah counts.

Read the full answer →
Can I miss Jumu'ah for a football match?

No, adult men shouldn't miss Jumu'ah for a football match or training. Women, boys, travellers and the sick are excused. Tips to avoid clashes.

Read the full answer →
Can I pray Jumu'ah at home?

No, you can't pray Jumu'ah alone at home, as it needs a congregation and khutbah. Pray Dhuhr instead; most scholars reject livestreamed Jumu'ah.

Read the full answer →