Building and Maintaining Mosques: Etiquettes and Rulings in Islam

اردو میں پڑھیں
Font size:
Written by: Imran Ayub Lahori

Construction of mosques and ensuring their cleanliness and purity

➊ It is narrated from Hazrat Usman bin Affan (RA) that the Messenger of Allah صلى الله عليه وسلم said:

من بنى لله مسجدا بنى الله له مثله فى الجنة

Reference: Bukhari 450, Book of Prayer: Chapter on who builds a mosque, Muslim 533, Tirmidhi 318, Ibn Majah 736, Ahmad 270/1, Ibn Khuzaymah 1291, Darimi 323/1, Bayhaqi 437/2

“Whoever builds a mosque for the sake of Allah, Allah will build for him a similar house in Paradise.”

➋ It is narrated from Hazrat Aisha (RA) that:

امر رسول الله ببناء المساجد فى الدوروأن تنظف وتطيب

Reference: Authentic: Sahih Abu Dawood 437, also Abu Dawood 456

“The Messenger of Allah صلى الله عليه وسلم commanded the construction of mosques in neighborhoods and to keep them pure and fragrant.”

➌ Hazrat Samurah (RA) wrote in a letter that:

فإن رسول الله صلى الله عليه وسلم كان يأمرنا بالمساجد أن نضعها فى دورنا و نصلح صنعتها و نطهرها

Reference: Authentic: Sahih Abu Dawood 436, Book of Prayer: Chapter on taking mosques in houses, Abu Dawood 455, Ahmad 17/5, Tirmidhi 594

“The Messenger of Allah صلى الله عليه وسلم used to command us to build mosques in neighborhoods, to improve their construction, and to keep them pure.”

Imam San’ani (RA) states that the command to build mosques in this hadith is recommended (mustahabb) because the Messenger of Allah صلى الله عليه وسلم said that the whole earth has been made pure and a mosque for me, so whoever finds a place to pray:

فليصل حيث أدركنه

Reference: Bukhari 335, Book of Tayammum: Chapter on the saying of Allah the Exalted: ‘Do not approach water, so perform tayammum…’, Muslim 521, Nasai 210/1, Darimi 322/1, Ahmad 304/3, Sabil al-Salam 352/1

“Let him pray there where he finds it.”

Mosques are Allah’s favorite places

It is narrated from Hazrat Abu Huraira (RA) that the Messenger of Allah (PBUH) said:

احب البلاد إلى الله مساجدها

Reference: Muslim 671, Book of Mosques and Places of Prayer: Chapter on the Virtue of Sitting in the Prayer Area after Fajr and the Virtue of the Mosque

“The most beloved places to Allah Almighty are the mosques.”

Decoration and beautification of mosques

And it is not permissible or allowed to make them a cause of pride and ostentation.
➊ It is narrated from Hazrat Ibn Abbas (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:

ما أمرت بتشييد المساجد

“I have not been commanded to beautify the mosques.”
Hazrat Ibn Abbas (may Allah be pleased with him) said:

لتز خرفنها كما زخرفتها اليهود والنصارى

Reference: Authentic: Sahih Abu Dawood 431, Book of Prayer: Chapter on Building Mosques, Abu Dawood 448, Sharh al-Sunnah 464, Abu Ya’la 2454, Abdul Razzaq 152/3

“You will surely beautify them just as the Jews and Christians beautified them.”
➋ It is narrated from Hazrat Anas (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:

لا تقوم الساعة حتى يتبـاهـي الـنـاس فـي المساجد

Reference: Authentic: Sahih Abu Dawood 432, also Abu Dawood 449, Ibn Majah 739, Nasai 3212, Ahmad 134/3, Ibn Khuzaymah 1322, Darimi 327/1, Ibn Hibban 1614, Abu Ya’la 2798

“The Day of Judgment will not come until people take pride in the construction of mosques.”
During the era of the Prophethood and the Rightly Guided Caliphate, this was the condition of the mosques. Caliph Walid bin Abdul Malik was the first person who had beautification and decoration work done in the Prophet’s Mosque. Since Walid was a ruler, the scholars were forced to remain silent.

Reference: Sabil al-Salam 365/1

It is forbidden to walk quickly towards the mosques

It is narrated from Hazrat Abu Huraira (RA) that the Prophet (PBUH) said:

إذا سمعتم الإقامة فامشوا إلى الصلاة وعليكم بالسكينة والوقار ولا تسرعوا فما أدركتم فصلوا وما فاتكم فأتموا

Reference: Bukhari 636, Book of Adhan: Chapter – Do not hasten to the prayer and perform it with calmness and dignity

“When you hear the Iqamah, come to the prayer in such a way that you are calm and dignified and do not hurry. Pray as much of the prayer as you can, and complete what remains later.”
Although in the mentioned hadith the prohibition is linked with hearing the Iqamah, it is also forbidden to come quickly towards the mosques before the Iqamah, as in another hadith:

إذا أتيتم الصلاة فعليكم بالسكينة

Reference: Bukhari 635, Book of Adhan: Chapter – The man said, ‘We missed the prayer’

“When you come for prayer, come with calmness and tranquility.”
The restriction of Iqamah in the first hadith is only because generally this is what causes a person to hurry.

Reference: Fath al-Bari 117/2

It is forbidden to come to the mosque after eating raw garlic and onions

It is narrated from Hazrat Jabir رضي الله عنه that the Messenger of Allah صلى الله عليه وسلم said:

من اكل نومــا أو بـصــلا فليعتزلنا أو ليعتزل مسجدنا وليقعد فى بيته

Reference: Bukhari 7359, Book of Holding Fast to the Book and Sunnah: Chapter on rulings known by evidence….., Muslim 564, Abu Dawood 3822, Tirmidhi 1806, Ibn Majah 3365, Ahmad 380/3, Nasai 158/4, Bayhaqi 76/3, Ibn Khuzaymah 1668

“Whoever eats raw garlic or onion should keep away from us or (he said) keep away from our mosque and stay in his house.”

Supplication for entering the mosque

➊ أعُوذُ بِاللهِ الْعَظِيمِ وَبِوَجْهِهِ الْكَرِيمِ وَسُلْطَانِهِ الْقَدِيمِ مِنَ الشَّيْطَانِ الرَّحِيمِ

Reference: Authentic: Sahih Abu Dawood 441, Book of Prayer: Chapter on what a man says when entering the mosque, Abu Dawood 466

➋ بِسْمِ اللهِ وَالصَّلَاةُ وَالسَّلَامُ عَلَى رَسُولِ اللهِ

Reference: Good: Ibn al-Sunni 88

➌ اللهُمَّ افْتَحُ لِى اَبْوَابَ رَحْمَتِكَ

Reference: Authentic: Sahih Abu Dawood 440, also Nasai 53/2, Darimi 324/1

Supplication for leaving the mosque

بِسْمِ اللهِ وَالصَّلَاةُ وَالسَّلامُ عَلَى رَسُولِ اللَّهِ

اللَّهُمَّ إِنِّى أَسْئلْكَ مِنْ فَضْلِكَ۔

اللَّهُمَّ أَعْصِمُنِي مِنَ الشَّيْطَانِ الرَّحِيمِ

Reference: Abu Dawood 465, Ibn Hibban 2049, Muslim 713, Sahih Ibn Majah 129/1, Hisn al-Muslim p. 39

It is necessary to perform two rak’ahs before sitting in the mosque

It is narrated from Hazrat Abu Qatada (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:

إذا دخل أحدكم المسجد فلا يجلس حتى يصلي ركعتين

Reference: Bukhari 444, Book of Prayer: Chapter: When one of you enters the mosque, let him pray two rak’ahs; Muslim 714, Tirmidhi 316, Abu Dawood 467, Nasa’i 53/2, Ibn Majah 1013, Ahmad 295/5, Sharh al-Sunnah 481, Ibn Khuzaymah 1825

“When any one of you enters the mosque, he should not sit until he has prayed two rak’ahs.”
Further details on this issue will come later in “باب صلاة التطوع“.

Announcing lost items in the mosque is not permissible

It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:

مس سمع رجــلا يـنـشـد ضــالـة فى المسجد فليقل: لا ردها الله عليك فإن المساجد لم تين لهذا

Reference: Muslim 568, Book of Mosques and Places of Prayer: Chapter on the prohibition of seeking lost items in the mosque, Abu Dawood 473, Ibn Majah 767, Abu Awana 406/1, Ahmad 349/2, Ibn Khuzaymah 1302, Bayhaqi 447/2

“Whoever hears a person announcing his lost item in the mosque, let him say: May Allah not return that item to you, for mosques were not built for this purpose.”

Buying and selling is prohibited in the mosque

It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said: When you see a person buying and selling in the mosque, tell him:

لا أربح الله تحارتك

Reference: Authentic: Sahih Tirmidhi 1066, Book of Sales: Chapter on the prohibition of selling in the mosque, Mishkat 733, Irwa al-Ghalil 1495, Tirmidhi 1321, Nasa’i 52/6, Ibn Khuzaymah 1305

“May Allah not bless your trade with profit.”

Reciting poetry in the mosque that is not un-Islamic is permissible.

It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that Hazrat Umar (may Allah be pleased with him) passed by Hazrat Hassan (may Allah be pleased with him): ينـشـد فـــي المسجد “He was reciting poetry in the mosque.” Hazrat Umar (may Allah be pleased with him) looked at him sternly. Upon this, Hazrat Hassan (may Allah be pleased with him) said: قد كنت أنشد فيه و فيه من هو خير منك “I used to recite poetry in the mosque even when the one who was superior to you (i.e., the Messenger of Allah, peace be upon him) was present in the mosque.”

Reference: Bukhari 3212, Book of the Beginning of Creation: Chapter on Mentioning the Angels, Muslim 2485, Nasa’i 48/2, Ahmad 222/5, Humaydi 1105, Ibn Khuzaymah 1307, Bayhaqi 448/2

It is permissible to lie down in the mosque

Hazrat Ibad bin Tamim (may Allah be pleased with him) narrates from his uncle that:

أنه رأى رسول الله مستلقيا فى المسجد واضعا بن إحدى رجليه على الأخرى

Reference: Bukhari 475, Book of Prayer: Chapter on Lying Down in the Mosque and Stretching the Leg, Muslim 2100, Abu Dawood 4866, Tirmidhi 2765, Nasa’i 50/2, Ahmad 38/4

“Indeed, they saw the Messenger of Allah (peace be upon him) lying down in the mosque with one leg over the other.”

Sleeping in the mosque is permissible

Hazrat Ibn Umar (may Allah be pleased with them both) used to sleep in the mosque, and in one narration, the Companions say:

كنا فى زمن رسول الله صلی اللہ علیہ وسلم ننام فى المسجد و نقيل فيه ونحن شاب

Reference: Bukhari 440, Book of Prayer: Chapter on Men Sleeping in the Mosque, Muslim 2479, Abu Dawood 382, Nasai 50/2, Ahmad 12/2, Ibn Majah 3919

“We used to sleep and take naps in the mosque during the time of the Prophet, and we were young.”

Setting up a tent for a sick person in the mosque

Imam Shawkani (may Allah have mercy on him) states that it is permissible to do so when necessary.

Reference: Nail al-Awtar 672/1

As narrated from Hazrat Aisha (may Allah be pleased with her), on the day of the Battle of the Trench, Hazrat Saad (may Allah be pleased with him) was wounded:

فضرب عليه رسول الله صلى الله عليه وسلم خيمة فى المسجد

Reference: Bukhari 463, Book of Prayer: Chapter on the Tent in the Mosque for the Sick and Others, Muslim 1769, Abu Dawood 3101, Nasai 45/2, Ahmad 56/6

“The Messenger of Allah (peace be upon him) had a tent set up for him in the mosque,” so that he could be cared for closely.

A woman spending the night in the mosque

A woman can also spend the night in the mosque provided there is no danger of fitnah (temptation) or disorder.

Reference: Sabil al-Salam 362/1

As narrated from Hazrat Aisha (may Allah be pleased with her):

ان وليدة سوداء كان لها خباء فى المسجد

Reference: Bukhari 439, Book of Prayer: Chapter on a woman sleeping in the mosque

“A black-colored girl had a tent in the mosque.” She used to come to me to talk.

Establishing Qisas (retribution) and Hudood (Islamic punishments) in mosques is forbidden.

Imam Shawkani (may Allah have mercy on him) and Imam San’ani (may Allah have mercy on him) hold the same view.

Reference: Nail al-Awtar 665/1, Sabil al-Salam 359/1

It is narrated from Hazrat Hakim bin Hizam (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:

لا تقام الحدود فى المساجد ولا يستقاد فيها

Reference: Hasan: Sahih Abu Dawood 3769, Al-Mishkat 734, Irwa’ al-Ghalil 2327, Abu Dawood 4490, Kitab al-Hudud: Chapter on Establishing Hudud in the Mosque, Dar Qutni 85/3, Ahmad 434/3, Bayhaqi 328/8, Shaykh Hazim Qadi has classified it as Hasan Lighayrihi. Commentary on Sabil al-Salam 309/1, Hafiz Ibn Hajar (may Allah have mercy on him) says there is no problem in its chain of narration. Talkhis al-Habeer 46/4

“Neither hudud punishments nor qisas should be carried out in mosques.”

Spitting in the mosque is a sin.

➊ It is narrated from Hazrat Anas (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:

البصاق فى المسجد خطيئة وكفارتها دفنها

Reference: Bukhari 415, Book of Prayer: Chapter on Expiation for Spitting in the Mosque, Muslim 552

“Spitting in the mosque is a sin, and its expiation is to bury the spit.”

➋ It is narrated from Hazrat Abdullah bin Shakheer (may Allah be pleased with him) that I prayed with the Messenger of Allah (peace be upon him):

فرأيته يتنخع فدلكها بنعله اليسري

Reference: Muslim 552

“So I saw him clearing his throat, then he wiped it off with his left shoe.”

(Shawkani) Doing this is correct when nothing is spread in the mosque, but if mats (carpets) or similar things are spread in the mosque so that it is not possible to bury the spit, which is the expiation for spitting, then leaving the spit without wiping it off will be a sin for which no expiation has been given.

Reference: Al-Sail Al-Harrar 182/1

It is permissible to demonstrate military training and war exercises in the mosque.

It is narrated from Hazrat Aisha (may Allah be pleased with her) that I saw the Messenger of Allah (peace be upon him) how he acted as a screen for me:

وانا أنظر إلى الحبشة يلعبون فى المسجد

Reference: Bukhari 463, Book of Prayer: Chapter on the Tent in the Mosque for the Sick and Others, Muslim 892

“And I was watching that (war) game of the Abyssinians which they were playing in the mosque.”
In the narration of Sahih Muslim, it is mentioned:

يلعبون بحرابهم فى مسجد رسول الله

Reference: Muslim 1481, Book of the Two Eid Prayers: Chapter on the Permission to Play That Which Does Not Involve Sin

“They were playing with spears in the Prophet’s Mosque.”
And in a narration from Sahih Bukhari, these words are mentioned:

وكان يوم عيد يلعب السودان بالدرق والحراب

Reference: Bukhari 2907, Book of Jihad and Leadership: Chapter on the Shield

“Hazrat Aisha (may Allah be pleased with her) said that on the day of Eid, some companions from Sudan were playing with shields and spears.”

Eating in the mosque is permissible

It is narrated from Hazrat Abdullah bin Harith (RA) that:

كنا نأكل على عهد رسول الله فى المسجد الخبز و اللحم

Reference: Authentic: Sahih Ibn Majah 2669, Book of Foods: Chapter on Eating in the Mosque, Sahih Abu Dawood 187, Tamam al-Minnah, Ibn Majah 3300, Ibn Hibban 1657, Ahmad 190/4, Hafiz Busiri (RA) has classified it as Hasan. Al-Zawaid 80/3

“We used to eat bread and meat in the mosque during the time of the Prophet.”

A polytheist may enter the mosque in case of necessity.

It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) sent a small detachment in a certain direction:

فجاءت برجل تربطوه بسارية من سواري المسجد

Reference: Bukhari 462, Book of Prayer: Chapter on Ghusl when a Muslim embraces Islam 3310

“These people captured a man (Hazrat Thumama bin Uthal, may Allah be pleased with him, who was still a polytheist at that time) and brought him to the presence of the Prophet (peace be upon him), and this prisoner was tied to one of the pillars of the mosque.”
The fact that the Prophet (peace be upon him) stationed his delegation of Thaqif (the polytheists) inside the mosque is also evidence of this.

Reference: Weak: Weak Abu Dawood 297, Book of Prayer: Chapter on Dividing the Qur’an, Abu Dawood 1393, Ibn Majah 1345, Ahmad 343/9, Sheikh Muhammad Sahbi Hallaq considered it authentic. Al-Ta’leeq ‘ala al-Sail al-Jarrar 402/1

Leaving the mosque after the Adhan

Except for a necessary need, it is not permissible to do so, as narrated from Hazrat Abu Sha’tha رضي الله عنه that a man left the mosque after the Asr Adhan, then Hazrat Abu Huraira رضي الله عنه said:

اما هذا فقد عصى أبا القاسم

Reference: Muslim 655, Kitab al-Masajid wa Mawadi’ al-Salat: Bab al-Nahy ‘an al-Khuruj min al-Masjid idha Adhan al-Mu’adhdhin, Abu Dawood 536, Tirmidhi 204, Ibn Majah 733, Ahmad 410/2, Ibn Khuzaymah 1506

“He has disobeyed Abu al-Qasim (i.e., Muhammad صلى الله عليه وسلم).”
In a Marfu’ narration from Hazrat Abu Huraira رضي الله عنه, these words are also present:

إذا كنتم فى المسجد فنودي الصلاة فلا يخرج أحدكم حتى يصلى

Reference: Ahmad 537/2, Imam Bayhaqi رحمه الله said that its narrators are authentic. Al-Majma’ 8/2

“When you are in the mosque and the Adhan for prayer is called, none of you should go out before praying.”
Waiting for the prayer in the mosque is itself counted as prayer.

It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Messenger of Allah صلى الله عليه وسلم said:

لا يزال أحدكم فى الصلاة ما دامت الصلاة تحبسه لا يمنعه أن ينقلب إلى أهله إلا الصلاة

Reference: Bukhari 3229, 659, Kitab al-Adhan: Chapter on one who sits in the mosque waiting for prayer and the virtue of the mosque, Muslim 166/5, Abu Dawood 470, Muwatta 161/1

“One of you remains in prayer as long as the prayer holds him back, meaning that only the prayer prevents him from going to his family.”

Permissibility of permissible talk and laughter in the mosque

It is permissible and there is no harm in it.

Reference: For details see: Al-Majmu’ 177/2, Al-Muhalla 241/4, Hashiyat Ibn Abidin 445/1

As mentioned in the hadith regarding the companions:

كانوا يتحدثون فياخذون فى أمر الجاهلية فيضحكون و يتبسم

“The noble companions used to talk, engage in acts of ignorance, and laugh, but the Prophet صلى الله عليه وسلم would smile at it.”

Reference: Tabarani Kabir and Awsat as in Al-Majmu’ 24/2, Ibn Asakir in Tarikh Dimashq 2/39/12

It is permissible to enter the Kaaba and perform prayer.

It is narrated from Hazrat Ibn Umar (may Allah be pleased with them) that the Messenger of Allah (peace be upon him), Hazrat Usama bin Zaid, Hazrat Bilal, and Hazrat Uthman bin Talha (may Allah be pleased with them) entered the House of Allah and closed the door. When they opened the door, I was the first to enter and met Hazrat Bilal (may Allah be pleased with him) and asked him: هل صلى فيه رسول الله “Did the Messenger of Allah (peace be upon him) pray in it?” He replied: نعم ، بين العمودين اليمانيين “Yes, between the two Yemeni pillars.”

Reference: Bukhari 468, 504, 505, 1599, Book of Prayer: Chapter on praying between the pillars not in congregation, Muslim 1329, Abu Dawood 2023, Ibn Majah 3063, Nasa’i 63/2, Muwatta 398/1, Ahmad 33/2, Darimi 53/2, Ibn Khuzaymah 3009

It should be noted that only voluntary (Nafl) prayers can be performed inside the Kaaba, but Imam Shafi’i (may Allah have mercy on him) and Imam Abu Hanifa (may Allah have mercy on him) consider obligatory prayers permissible there because it is a mosque.

Reference: Al-Mughni by Ibn Qudamah 475/2 – 476

Building mosques between graves

If someone builds a mosque between graves in a cemetery, its ruling is the same as that of a grave. It is narrated from Hazrat Anas (may Allah be pleased with him) that:

كان يكره أن يبنى مسجد فى وسط القبور

Reference: Al-Mughni 47532

“Building a mosque among graves was disliked.”

Travel is permissible only for the purpose of visiting three mosques

It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Prophet صلى الله عليه وسلم said:

لا تشد الرحال إلا إلى ثلاثة مساجد : المسجد الحرام و مسجد الرسول، ومسجد الأقصى

Reference: Bukhari 1189, Book of the Virtue of Prayer in the Mosques of Mecca and Medina: Chapter on the Virtue of Prayer in the Mosques of Mecca and Medina

“Travel should be undertaken only for three mosques: Masjid al-Haram, Masjid an-Nabawi, and Masjid al-Aqsa.”