Islamic Ruling on Bringing Children to the Mosque

اردو میں پڑھیں
Font size:
This excerpt is taken from the book Ahkam al-Masajid by Shaykh Muhammad Munir Qamar.

Taking Children to the Mosque

On the basis of these (aforementioned) hadiths, some scholars have written that it is disliked to take children into the mosque, especially those who cannot distinguish between what is clean and unclean. But these hadiths are da’if (weak). Therefore it is not correct on their basis. However, if a child must be taken to the mosque, then dress him in fully covering clothing and take protective measures against urine and feces. Fasten a diaper and the like. As this has also been mentioned in the topic of the clothing necessary for prayer. And the Prophet’s ﷺ leading the prayer while carrying his granddaughter Umamah bint Zaynab on his shoulder is evidence for the permissibility of taking children into the mosque. And this incident of his ﷺ has come in the books of hadith, in Bukhari and Muslim, Abu Dawud, Nasa’i, Abi Awanah and Ahmad, and Sunan al-Bayhaqi.

Reference: بخاری 516, 5996 ـ مسلم مع نووی 32,31/5/3۔ صحيح ابی داؤد 11 812 صحیح Sunan al-Nasa’i 687 – موطا امام مالك 170/1, 18 – الفتح الرباني 119/4, 120 – شرح السنه 263/3 – الارواء 106/3

Likewise, it is narrated in Sahih al-Bukhari, Abu Dawud, Nasa’i, Ibn Majah and Musnad Ahmad from Abu Qatadah (may Allah be pleased with him) that the Prophet ﷺ said: I stand in prayer and I want to prolong it:

فأسمع بكاء الصبي

Then I hear the crying of a child.
So I shorten the prayer, so that I do not become a source of hardship for the child’s mother.

Reference: بخاری 236/2 حدیث 707 – مسلم مع نووی 187/4/2 – صحیح ابی داؤد 708 صحیح Sunan al-Nasa’i -792- مسیر ابن ماجه 991

This hadith is also evidence of permissibility. But protective measures are obligatory, so that no filth is produced in the mosque.

Making the Mosque a School and Madrasa for Teaching Children:

Keeping in view the hadiths already mentioned concerning the prohibition of bringing children into the mosque, some scholars have said that using the mosque for teaching children is also not permissible. And since those hadiths are weak, as we have already mentioned, the scholars differ on this issue. Accordingly, Allamah Badr al-Din al-Zarkashi has written in “A’lam al-Sajid”:
It is disliked to bring into the mosque, without a particular need, children who cannot distinguish between what is clean and what is impure, because there is a fear that they will spread impurity in the mosque.
And Imam al-Nawawi (may Allah have mercy on him), in “Rawdat al-Talibin”, wrote that the entry of children and the insane into the mosque is absolutely prohibited.
However, in his commentary on Sahih Muslim he declared it permissible.

Reference: A’lam al-Majid p. 312, 313 – and Sharh Nawawi 31/5/3,1871412

And this concerns entry in the absolute sense, whereas with precautionary measures the view of permissibility is the stronger one. This is because the practice of the Prophet ﷺ requires it: he prayed while carrying his granddaughter Umamah bint Zaynab (may Allah be pleased with him), and, despite intending to pray a long prayer, he would shorten the prayer on hearing the voice of a child.
As for turning the mosque into a school and madrasa, Allamah Jamal al-Din al-Qasimi has written in “Islah al-Masajid”:
This is permissible only when a mosque is uninhabited and no one comes there for prayer and worship. In his view, when a mosque is full of worshippers and people engaged in worship, opening a school there for teaching the Quran, writing and reading, and elementary matters defeats the original purpose of the mosque.

Reference: Islah al-Masajid p. 218, 219, Urdu

And Allamah al-Zarkashi has cited from al-Qaffal that when he was asked about teaching children in the mosque, he said:
Young children mostly just cause harm to the mosque. Therefore it is permissible to forbid them.
And it is related from Imam al-Qurtubi (may Allah have mercy on him) that some scholars have forbidden teaching children in the mosque, and they counted it as part of buying and selling. But that is when the teacher in the mosque takes a regular salary for it. And if someone teaches without payment, they did not declare that permissible either. This is because there remains a fear that children will spread filth and dirt in the mosque, and this is contrary to the cleanliness and purity of the mosque, whereas the command has been given to keep mosques clean and pure. And further on, he too has argued from that hadith which, being weak, cannot be used as evidence.

Reference: A’lam al-Sajid p. 327

And some other scholars have also mentioned the view of those who prohibit teaching children, and they have written that teaching children also requires raising the voice, and there is also the noise of the children. Therefore, for this reason too, some scholars have called it prohibited.
In short, from this detail the conclusion can be drawn that one should avoid taking very young children to the mosque, or else take them with covering clothing and the necessary precautions. And if one of Allah’s servants wishes to teach children the Quran in the mosque purely for the sake of Allah, then only those children who are somewhat mature and can distinguish between clean and impure should be sent to him to learn. And in any case, it is such children who are sent to learn in the mosque or the maktab.
Then there are some women who, to take advantage of the mosque being nearby, when they become fed up with the noise, mischief and breaking of things by small children, send these boys or girls to the mosque along with their older children, if not in the morning then in the period after Asr, even though they have nothing to read or write. And the thought of these women is: let them spend some time out there (in the mosque), so that we can rest for a little while, and have a measure of peace.
Such women in particular should reconsider this attitude, because the mosque is the house of Allah. It has sanctity, respect and etiquette. It is not a playground to which children of any age may come to play. Yes, there is no harm in sending children who are mature and of an age to read or learn the Holy Quran, especially when the teacher, or the hafiz or qari, does not take payment for teaching in the mosque, as the view of some scholars has been mentioned on the authority of Imam al-Qurtubi (may Allah have mercy on him).

Children coming to the mosque or being brought to it:

In the topic of the clothing necessary for prayer too, the necessary precautions for bringing children to the mosque have already been mentioned. And under the etiquette of the mosque it has already been mentioned that some scholars have disagreed with bringing children into the mosque and with opening a maktab and madrasa for them in the mosque.
And some others have said that if no other arrangement is possible, then in time of necessity the allowance should be made for children to study in the mosque. Yes, if another arrangement is possible, then the mosque should be protected from the noise, mischief and the like of the children.

Reference: Jadid Fiqhi Masail p. 65

And we have also mentioned some hadiths based on the evidences for the permissibility of children coming to the mosque or being brought to it in the absolute sense. In this regard, a fatwa of our respected teacher, Shaykh al-Hadith Maulana Hafiz Thana’ullah, has also been published in the weekly “Al-I’tisam”, which we are quoting here along with the question and answer.

Can children come to the mosque?

Question: In Ramadan, especially at the time of iftar, small children come to the mosque, and some people bring them along. Some of the children, most of whom are not fasting, go back home before the prayer. The rest generally run around in the mosque during the prayer, and also talk and misbehave, that is, tease one another and so on. Some people say that if the children are stopped, they will not come to the mosque when they grow up. Please tell us, children of what age should be brought to the mosque for prayer?
(According to the hadith of the best of mankind, as I have often heard from the scholars, one should encourage a child to pray at the age of seven. When he reaches ten, he should be beaten for not praying.) The mosques are the places of peace; if one cannot find a prayer with humility (khushu’) even in the mosque, where should one go? Because, as mentioned above, attention is diverted on account of the children. Some also cite the reference that once, when the Messenger of Allah ﷺ was sitting on the pulpit, Hussain (may Allah be pleased with him), who was four years old at that time, came into the mosque, and the Prophet ﷺ got up from the pulpit and took him in his lap. From this reference, the permissibility of bringing children to the mosque or their coming to it is derived.
Answer, with the help of Allah, the Bestower: It is a correct act for small children, without any age restriction, to come to the mosque or be brought to it. It is reported in an authentic hadith that the Messenger of Allah ﷺ used to pray carrying his granddaughter Umamah bint Zaynab. At the time of prostration he would put her down, and when he was about to rise for standing he would pick her up.

Reference: Bukhari, Chapter: When one carries a small girl on his neck during the prayer

The commentator of Bukhari, al-Hafiz Ibn Hajar (may Allah have mercy on him), says:

وعلى جواز إدخال الصبيان فى المساجد

That is, this hadith shows the permissibility of bringing children into the mosque.

Reference: Fath al-Bari 592/1

Also, in Sahih Muslim the narrator states:

رأيت النبى صلى الله عليه وسلم يوم الناس وأمامة على عاتقه

I saw the Prophet ﷺ leading the people in prayer, while Umamah was riding on his shoulder.
And in Sunan Abi Dawud, the Zuhr prayer or the ‘Asr prayer is mentioned, with the narrator being unsure which.
It is obvious that the place for performing the obligatory prayer is the mosque. In view of these very routes of narration, the aforementioned Hafiz drew the stated conclusion.
Likewise, in another narration, a boy, ‘Abdullah ibn Salamah, on the basis of his distinction in recitation, was the imam of his people in the Prophetic era at the age of six or seven.

Reference: Bukhari 616,615/2

From this incident it is clear that he attained the honour of leading the prayer in the mosque itself. And then Ibn ‘Abbas (may Allah be pleased with them both), despite his young age, used to take part in the congregation. He states that once he let his riding animal graze in Mina and himself joined the congregation.
Imam al-Bukhari (may Allah have mercy on him) drew the conclusion from this and other narrations that children’s wudu’, their participation in the congregation, the two Eids, funerals, and their presence in the rows are all established matters about which there can be no dispute.
Furthermore, once the Prophet ﷺ was late for the ‘Isha prayer, and ‘Umar (may Allah be pleased with him) said:

نام النساء والصبيان

That is, the women and children have fallen asleep.
In explaining this, al-Hafiz Ibn Hajar (may Allah have mercy on him) says:

أى الحاضرون فى المسجد

That is, they were present in the mosque.

Reference: Fath al-Bari 48/2

And the coming and going of Hussain (may Allah be pleased with him) in the mosque is explicitly stated in a number of hadiths. See Musnad Ahmad and others.
In another authentic narration, the Messenger of Allah ﷺ said that he shortens the prayer when he hears a child crying, lest this be burdensome for the child’s mother. Likewise, the hadith مروا اولادكم بالصلواة اذا بلغو اسبعا also indicates the coming of children to the mosque. On the other hand, the noble muhaddithin have also regarded the hearing of hadith by a child of four or five years as reliable. This is possible only if he is permitted to come to a general gathering. The mosque is included in this. It is stated in a hadith:

إنما بنيت المساجد لما بنيت له

That is, whatever work the mosques were built for, that same work should be done in them.
Regarding the hadith under discussion, Imam al-Nawawi (may Allah have mercy on him) says:

معناه لذكر الله والصلوة والعلم والمذاكرة فى الخير و نحوها

That is, (the meaning of this hadith is that) the mosques were built for the remembrance of Allah, prayer, teaching and learning, and conversation about good matters.
Therefore, in ordinary circumstances, no one has the right to prevent children from coming to the mosque. However, if the children are of the mischievous kind, such that the respect and etiquette of the mosque are harmed, then appropriate action can be taken against them by way of discipline. ‘Umar (may Allah be pleased with him) used to strike children with sticks for playing in the mosque. In one narration it is stated:

جنبوا مساجدكم صبيانكم

That is, keep your mosques away from your children.

Reference: Its chain is weak. Fath al-Bari 549/1

Hafiz Ibn Kathir (may Allah have mercy on him) has written the reason for this as:

لانهم يلعبون فيها ولا يناسبهم

Because they play, and that does not suit them.
Nevertheless, well-mannered and disciplined children are permitted to come to the mosque without restriction. As for those who play and make noise, holding them to account is a necessary matter, so that the purity and cleanliness of the mosque is not affected.

Reference: Weekly “Al-I’tisam”, Lahore – Volume 43, Issue 48 – for Jumada al-Ula 51412, corresponding to 29 November 1991