Ads by Muslim Ad Network

Can You Sleep in a Mosque?

08 July, 2023
Q As-Salamu `Alaykum. I would like to know if it is permissible to sleep in Mosques. I have seen and practiced this when going out in Dawah congregation but I guess there are many people who are totally against the issue of sleeping in Mosques or Musallahs. Can you please enlighten on this issue?


Wa `alaykum As-Salamu wa Rahmatullahi wa Barakatuh

In the Name of Allah, Most Gracious, Most Merciful. 

All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.

In this fatwa:

Staying in mosques for several days, and sleeping in them is permitted as long as the person is observing itikaf or there is a dawah purpose. However, it is discouraged and improper to take mosques as a sleeping place.

Ads by Muslim Ad Network

Focusing more on the question in point, we would like to furnish you with the following Fatwa:

If you go to a mosque, you may stay as long as you wish. You are only required not to say or do what is forbidden. Suppose you go to a mosque and spend a few hours, you may offer your prayers when they are due and you may offer voluntary prayers and recite a short or a long passage from the Qur’an. After a while you may wish to just sit down and think or relax.

Sleeping in the Mosque is not forbidden. Indeed, it is permissible, and it is recommended in certain cases. The Prophet (peace be upon him) has encouraged us to do the Sunnah of itikaf, which means staying in the mosque for an extended period, which may last for several days, particularly in the last ten days of Ramadan.

This means that a person may stay in the mosque for several days. When he does, he may go to his home to attend to his family’s needs and come back. He will be rewarded for that.

Having said that, we would like to conclude that using the mosque as a sleeping place is not a good practice. Indeed, it is discouraged because the mosque is not meant for sleeping.

Almighty Allah knows best.

Editor’s note: This fatwa is from Ask the Scholar’s archive and was originally published at an earlier date.