Building and Maintaining Mosques: Etiquettes and Rulings in Islam

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

The construction of mosques and the care taken to keep them pure and clean

➊ It is narrated from Uthman ibn Affan (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: بخاري 450 , كتاب الصلاة: باب من بنى مسجدا , مسلم 533 , Sunan al-Tirmidhi 318 , ابن ماجة 736 , أحمد 270/1 , ابن خزيمة 1291 , دارمي 323/1 , بيهقي 437/2

“Whoever builds a mosque for Allah, Allah the Exalted will build for him the like of it (a house) in Paradise.”
➋ It is narrated from Aishah (may Allah be pleased with her) that:

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

Reference: صحيح: صحيح Sunan Abi Dawud 437 , أيضا , Sunan Abi Dawud 456

“The Messenger of Allah ﷺ commanded that mosques be built in the neighbourhoods and that they be kept clean and perfumed.”
➌ Samurah (may Allah be pleased with him) wrote in a letter that:

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

Reference: صحيح: صحيح Sunan Abi Dawud 436 , كتاب الصلاة: باب اتخاذ المساجد فى الدور , Sunan Abi Dawud 455 , أحمد 17/5 , Sunan al-Tirmidhi 594

“The Messenger of Allah ﷺ used to command us to build mosques in the neighbourhoods, to improve their construction, and to keep them clean.”
Imam al-San’ani (may Allah have mercy on him) says that the command to build mosques in this hadith is for recommendation, because the Messenger of Allah ﷺ said: the whole earth has been made pure and a place of prayer for me; therefore, whoever the prayer overtakes:

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

Reference: بخاري 335 , كتاب التيمم: باب قول الله تعالى فلم تحدوا ماء فتيمموا…, مسلم 521 , Sunan al-Nasa’i 210/1 , دارمي 322/1 , أحمد 304/3 , سبل السلام 352/1

“let him pray right there where it overtakes him.”

Mosques are the places most beloved to Allah

It is narrated from Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: مسلم 671 , كتاب المساجد ومواضع الصلاة: باب فضل الجلوس فى مصلاة بعد الصبح و فضل المسجد

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

Decorating and adorning mosques

and making them a cause of boasting and showing off is unlawful and forbidden.
➊ It is narrated from Ibn Abbas (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

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

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

Reference: صحيح: صحيح Sunan Abi Dawud 431 , كتاب الصلاة: باب فى بناء المساجد , Sunan Abi Dawud 448 , شرح السنة 464 , أبو يعلى 2454 , عبد الرزاق 152/3

“You will surely adorn them, just as the Jews and Christians adorned them.”
➋ It is narrated from Anas (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: صحيح: صحيح Sunan Abi Dawud 432 , أيضا , Sunan Abi Dawud 449 , ابن ماجة 739 , Sunan al-Nasa’i 3212 , أحمد 134/3 , ابن خزيمة 1322 , دارمي 327/1 , ابن حبان 1614 , أبو يعلى 2798

“The Hour will not be established until people boast to one another about (the construction of) mosques.”
This was the condition of the mosques in the era of the Messenger and of the Rightly-Guided Caliphs. The caliph al-Walid ibn Abd al-Malik was the first person to have the Prophet’s Mosque decorated, adorned and embellished with engravings. Since al-Walid was the ruler, the scholars were compelled to remain silent.

Reference: سبل السلام 365/1

Hurrying to the mosque is forbidden

It is narrated from Abu Hurayrah (may Allah be pleased with him) that the Prophet ﷺ said:

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

Reference: بخارى 636 , كتاب الأذان: باب لا يسعى إلى الصلاة وليأنها بالسكينة والوقار

“When you hear the iqamah, walk to the prayer with calmness and dignity, and do not hurry. Pray what you catch, and complete what you miss afterwards.”
Although in the above hadith the prohibition is tied to hearing the iqamah, hurrying to the mosque before the iqamah is also forbidden, as in another hadith:

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

Reference: بخاري 635 , كتاب الأذان: باب قول الرجل فاتتنا الصلاة

“When you come to the prayer, come with calmness and composure.”
The condition of the iqamah in the first hadith is mentioned only because this is generally what drives a person to hurry.

Reference: فتح الباري 117/2

Coming to the mosque after eating raw garlic and onion is forbidden

It is narrated from Jabir (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: بخاري 7359 , كتاب الاعتصام بالكتاب والسنة: باب الأحكام التى تعرف بالدلائل….., مسلم 564 , Sunan Abi Dawud 3822 , Sunan al-Tirmidhi 1806 , ابن ماجة 3365 , أحمد 380/3 , Sunan al-Nasa’i 158/4 , بيهقي 76/3 , اين خزيمة 1668

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

The supplication for entering the mosque

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

Reference: صحيح: صحيح Sunan Abi Dawud 441 , كتاب الصلاة: باب ما يقول الرجل عند دخوله المسجد , Sunan Abi Dawud 466

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

Reference: حسن: ابن السني 88

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

Reference: صحيح: صحيح Sunan Abi Dawud 440 , أيضا , Sunan al-Nasa’i 53/2 , دارمي 324/1

The supplication for leaving the mosque

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

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

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

Reference: Sunan Abi Dawud 465 , ابن حبان 2049 , مسلم 713 , صحيح ابن ماجة 129/1 , حصن المسلم ص/ 39

Praying two rak’ahs before sitting in the mosque is necessary

It is narrated from Abu Qatadah (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: بخارى 444 , كتاب الصلاة: باب إذا دخل أحدكم المسجد فليركع ركعتين , مسلم 714 , Sunan al-Tirmidhi 316 , Sunan Abi Dawud 467 , Sunan al-Nasa’i 53/2 , ابن ماجة 1013 , أحمد 295/5 , شرح السنة 481 , ابن خزيمة 1825

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

Announcing a lost item in the mosque is not permissible

It is narrated from Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: مسلم 568 , كتاب المساجد ومواضع الصلاة: باب النهي عن نشد الضالة فى المسجد , Sunan Abi Dawud 473 , ابن ماجة 767 , أبو عوانة 406/1 , أحمد 349/2 , ابن خزيمة 1302 , بيهقي 447/2

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

Buying and selling in the mosque is forbidden

It is narrated from Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah ﷺ said: When you see someone buying or selling in the mosque, say to him:

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

Reference: صحيح: صحيح Sunan al-Tirmidhi 1066 , كتاب البيوع: باب النهي عن البيع فى المسجد , المشكاة 733 , إرواء الغليل 1495 , Sunan al-Tirmidhi 1321 , Sunan al-Nasa’i 52/6 , ابن خزيمة 1305

“May Allah not make your trade profitable.”

Reciting poetry in the mosque that is not contrary to the Shariah is permissible.

It is narrated from Abu Hurairah (may Allah be pleased with him) that Umar (may Allah be pleased with him) passed by Hassan (may Allah be pleased with him): ينـشـد فـــي المسجد “He was reciting poetry in the mosque.” Umar (may Allah be pleased with him) gave him a stern look. Thereupon Hassan (may Allah be pleased with him) said: قد كنت أنشد فيه و فيه من هو خير منك “I used to recite poetry in it even when there was in it one who was better than you (meaning the Messenger of Allah ﷺ).”

Reference: بخاري 3212 , كتاب بدء الخلق: باب ذكر الملائكة , مسلم 2485 , Sunan al-Nasa’i 48/2 , أحمد 222/5 , حميدي 1105 , ابن خزيمة 1307 , بيهقي 448/2

Lying down in the mosque is permissible

Abbad ibn Tamim (may Allah be pleased with him) narrates from his paternal uncle that:

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

Reference: بخارى 475 , كتاب الصلاة: باب الاستلقاء فى المسجد و مدالرجل , مسلم 2100 , Sunan Abi Dawud 4866 , ترمذى 2765 , Sunan al-Nasa’i 50/2 , أحمد 38/4

“He saw the Messenger of Allah ﷺ lying on his back in the mosque, with one leg placed over the other.”

Sleeping in the mosque is permissible

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

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

Reference: بخاري 440 , كتاب الصلاة: باب نوم الرجال فى المسجد , مسلم 2479 , Sunan Abi Dawud 382 , نسالي 50/2 , أحمد 12/2 , ابن ماجة 3919

“In the time of the Prophet ﷺ we used to sleep in the mosque and take a midday nap in it, and we were young men.”

Pitching a tent in the mosque for a sick person

Imam al-Shawkani (may Allah have mercy on him) says that doing so is permissible when there is a need.

Reference: نيل الأوطار 672/1

As narrated from Aisha (may Allah be pleased with her) that Sa’d (may Allah be pleased with him) was wounded on the day of the Battle of the Trench:

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

Reference: بخاري 463 , كتاب الصلاة: باب الخيمة فى المسجد للمرض و غيرهم , مسلم 1769 , Sunan Abi Dawud 3101 , Sunan al-Nasa’i 45/2 , أحمد 56/6

“The Messenger of Allah ﷺ had a tent pitched for him in the mosque,” so that he could visit and care for him from close by.

A woman spending the night in the mosque

A woman too may spend the night in the mosque, provided there is no fear of any temptation or disorder.

Reference: سبل السلام 362/1

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

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

Reference: بخاري 439 , كتاب الصلاة: باب نوم المرأة فى المسجد

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

Carrying out retaliation and the prescribed punishments in the mosques is forbidden

Imam al-Shawkani (may Allah have mercy on him) and Imam al-San’ani (may Allah have mercy on him) hold this view.

Reference: نيل الأوطار 665/1 , سبل السلام 359/1

It is narrated from Hakim ibn Hizam (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: حسن: صحيح Sunan Abi Dawud 3769 , المشكاة 734 , إرواء الغليل 2327 , Sunan Abi Dawud 4490 , كتاب الحدود: باب فى إقامة الحد فى المسجد , دار قطني 85/3 , أحمد 434/3 , بيهقي 328/8 , شيخ حازم قاضي نے اسے حسن لغيره كها هے۔ التعليق على سبل السلام 309/1 , حافظ ابن حجر (may Allah have mercy on him) كہتے هيں كه اس كي سند ميں كوئي حرج نهيں ۔ تلخيص الحبير 46/4

“The prescribed punishments are not to be carried out in the mosques, nor is retaliation to be taken in them.”

Spitting in the mosque is a sin

1. It is narrated from Anas (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: بخاري 415 , كتاب الصلاة: باب كفارة البزاق فى المسجد , مسلم 552

“Spitting in the mosque is a sin, and its expiation is to bury it.”
2. It is narrated from Abdullah ibn al-Shikhkhir (may Allah be pleased with him) that he said: I prayed with the Messenger of Allah ﷺ:

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

Reference: مسلم 552

“and I saw him clear his throat, then he rubbed it (meaning the phlegm) with his left sandal.”
(Al-Shawkani, may Allah have mercy on him): Doing this is correct when nothing is spread out in the mosque. But if mats (carpets) or the like have been spread out in the mosque, such that burying the spittle, which is its expiation, is not possible, then this (that is, leaving the spittle without rubbing it away) will be a sin for which no expiation has been made.

Reference: السيل الحرار 182/1

Military training and displays of combat drills in the mosque are permissible

It is narrated from Aisha (may Allah be pleased with her) that she said: I saw the Messenger of Allah ﷺ that he was acting as a screen for me:

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

Reference: Bukhari 463, Kitab al-Salah: Bab al-Khayma fi al-Masjid lil-Marda wa Ghayrihim, Muslim 892

“And I was watching the (martial) play of the Abyssinians, which they were playing in the mosque.”
In the narration of Sahih Muslim it says:

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

Reference: Muslim 1481, Kitab Salat al-‘Idayn: Bab al-Rukhsa fi al-La’ib alladhi la Ma’siyata fihi

“They were playing with spears in the Prophet’s Mosque.”
And in one narration of Sahih al-Bukhari the words are:

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

Reference: Bukhari 2907, Kitab al-Jihad wa al-Sayyid: Bab al-Daraq

“Aisha (may Allah be pleased with her) says: 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 Abdullah ibn al-Harith (may Allah be pleased with him) that:

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

Reference: Sahih: Sahih Ibn Majah 2669, Kitab al-At’ima: Bab al-Akl fi al-Masjid, Sahih Abi Dawud 187, Tamam al-Minna, Ibn Majah 3300, Ibn Hibban 1657, Ahmad 190/4, Hafiz al-Busiri (may Allah have mercy on him) said it is hasan (good). Al-Zawa’id 80/3

“In the time of the Messenger ﷺ we used to eat bread and meat in the mosque.”

A polytheist may enter the mosque when there is a need

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

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

Reference: Bukhari 462, Kitab al-Salah: Bab al-Ightisal idha Aslam, Muslim 3310

“These men captured a man (Thumamah ibn Uthal, may Allah be pleased with him, who was still a polytheist) and brought him to the Prophet ﷺ, and the prisoner was tied to one of the pillars of the mosque.”
The Prophet’s ﷺ lodging the delegation of Thaqif (the polytheists among them) in the mosque is also evidence for this.

Reference: Da’if (weak): Da’if Abi Dawud 297, Kitab al-Salah: Bab Tahzib al-Qur’an, Abu Dawud 1393, Ibn Majah 1345, Ahmad 343/9, Shaykh Muhammad Sahbi Hallaq said it is sahih (authentic). Al-Ta’liq ‘ala al-Sayl al-Jarrar 402/1

Leaving the mosque after the adhan

Doing so is not permissible except for an essential need, as it is narrated from Abu al-Sha’tha’ (may Allah be pleased with him) that a man left the mosque after the adhan for Asr, so Abu Hurayrah (may Allah be pleased with him) said:

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

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

“He has disobeyed Abu al-Qasim (that is, Muhammad ﷺ).”
In a marfu’ narration from Abu Hurayrah (may Allah be pleased with him) these words are also found:

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

Reference: Ahmad 537/2, Imam al-Bayshami (may Allah have mercy on him) writes that its narrators are the narrators of the Sahih. Al-Majma’ 8/2

“When you are in the mosque and the adhan is called for prayer, none of you should go out before he has prayed.”

Waiting for prayer in the mosque is counted as prayer

It is narrated from Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

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

Reference: Bukhari 3229, 659, Kitab al-Adhan: Bab Man Jalasa fi al-Masjid Yantazir al-Salah wa Fadl al-Masjid, Muslim 166/5, Abu Dawud 470, Muwatta’ 161/1

“One of you remains in prayer as long as the prayer keeps him back, such that nothing prevents him from returning to his family except the prayer.”

Permissible speech and laughter in the mosque

It is permissible; there is no harm in it.

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

As is found in a hadith about the Companions:

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

“The Companions would talk, take up matters of the Jahiliyyah, and laugh, but he ﷺ would smile at it.”

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

Entering the Kaaba and praying in it is permissible

It is narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah ﷺ, Usamah ibn Zayd, Bilal and Uthman ibn Talhah (may Allah be pleased with them) entered the House of Allah and closed the door. Then, when they opened the door, I was the first to enter, and meeting Bilal (may Allah be pleased with him) I asked him: هل صلى فيه رسول الله “Did the Messenger of Allah ﷺ pray in it?” He replied: نعم ، بين العمودين اليمانيين “Yes, between the two Yemeni pillars.”

Reference: Bukhari 468, 504, 505, 1599, Kitab al-Salah: Bab al-Salah bayna al-Sawari fi Ghayr Jama’a, Muslim 1329, Abu Dawud 2023, Ibn Majah 3063, Nasa’i 63/2, Muwatta’ 398/1, Ahmad 33/2, Darimi 53/2, Ibn Khuzaymah 3009

Remember that only a voluntary prayer may be prayed in the Kaaba, but Imam al-Shafi’i (may Allah have mercy on him) and Imam Abu Hanifah (may Allah have mercy on him) also consider an obligatory prayer permissible in it, because it is a mosque.

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

Building a mosque among graves

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

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

Reference: Al-Mughni 47532

“Building a mosque among the graves was disliked.”

Travel for the sake of nearness (to Allah) is permissible only to three mosques

It is narrated from Abu Hurayrah (may Allah be pleased with him) that the Prophet ﷺ said:

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

Reference: Bukhari 1189, Kitab Fadl al-Salah fi Masjid Makka wa al-Madina: Bab Fadl al-Salah fi Masjid Makka wa al-Madina

“Journeys should be undertaken only to three mosques: the Sacred Mosque, the Prophet’s Mosque and the Aqsa Mosque.”