This website is under review. Do not rely on it for final rulings.
Machine translation
Question
What is the ruling on bringing young children to the mosque, despite the disturbance they cause to worshippers, raising their voices during prayer, playing around in the mosque, especially when they stand in the back row?
Answer
All praise is due to Allah, and peace and blessings be upon the Messenger of Allah, and upon his family and companions. To proceed: Children are of two types. 1- A type that does not play around, or plays but stops when told to. For this type there is no harm in attending the mosque. It is better for them to stay beside their father or one of their elder relatives, and to avoid the middle of the row, due to the saying of the Prophet peace be upon him: "Let those of you who have maturity and understanding stand closest to me, then those who come after them, then those who come after them, then those who come after them...." Narrated by Muslim from the hadith of Abu Mas'ud al-Badri al-Ansari, may Allah be pleased with him. 2- And a type that plays around and does not stop when told. For this type it is not permitted to bring them to the mosque, and if they come, they are to be removed, because of the disturbance their presence causes to worshippers. This detailed view is the preponderant opinion among the scholars. Whoever prohibits bringing children to mosques absolutely has departed from the correct position, and the hadith he cited cannot serve as evidence, because it is a weak hadith, which is: "Keep your children, your insane, your buying and selling, your disputes, and the raising of your voices away from your mosques....etc." Narrated by Ibn Majah from the hadith of Wathila ibn al-Asqa'. And Allah knows best.
الحمد لله، والصلاة والسلام على رسول الله، وعلى آله وصحبه، أما بعد: فالأطفال على قسمين: 1- قسم لا يعبث أو يعبث ولكنه إذا نهي كف، وهذا لا حرج في حضوره للمسجد، والأفضل أن يكون بجوار أبيه أو أحد أقاربه الكبار، ويتجنب به وسط الصف لقول النبي صلى الله عليه وسلم: " ليليني منكم أولوا الأحلام والنهى ، ثم الذين يلونهم، ثم الذين يلونهم، ثم الذين يلونهم…." رواه مسلم من حديث أبي مسعود البدري الأنصاري رضي الله عنه. 2- وقسم يعبث وإذا نهي لا يكف، فهذا لا يجوز الإتيان به إلى المسجد، وإن أتى إليه أخرج منه، لما يترتب على وجوده من تشويش على المصلين، وهذا التفصيل هو الراجح عند أهل العلم، ومن منع الإتيان إلى المساجد بالصبيان مطلقاً فقد جانب الصواب، والحديث الذي استشهد به لا تقوم بمثله حجة لأنه حديث ضعيف وهو: "جنبوا مساجدكم صبيانكم ومجانينكم وشراءكم وبيعكم وخصوماتكم ورفع أصواتكم…..إلخ رواه ابن ماجه من حديث واثلة بن الأسقع. والله أعلم.