In which cases hitting is allowed
It is not allowed to immediately begin hitting children in every situation. Islam encourages parents to raise children with love, not by intimidating them.
Parents are commanded to educate their children attentively without being neglectful about it. The child should get used to Islamic rituals and duties at a young age. It should be the aim of parents to help the child in this so that they may continue this later in life.
1. As a discipline for not praying the prayer
Muslims are commanded to teach their children to pray at an early age. Children are encouraged to pray at age seven and disciplined at age ten if they fail to do so.
The Prophet (ﷺ) said:
"Command your children to pray when they turn seven years old, and beat them (slightly) for it (prayer) when they turn ten years old."
[Sunan Abi Dawud 495, Sunan Tirmidhi 407]
The hitting is done according to the strict guidelines of Islam, so that one avoids physically abusing the child.
2. As a discipline for Islamic education
It is permissible in Islam to correct children when necessary. The Companions of Islam taught their children Islam and corrected them when necessary.
In education, the aim is to encourage and motivate children. Islam does not allow beating children when this could be prevented by, for example, advice or warnings.
The Islamic schools of the past taught children and corrected their behavior when necessary. It was done according to the strict rules of discipline.
Ibn 'Umar used to hit his son over grammatical errors in Arabic.
[Al-Adab Al-Mufrad 880 of Bukhari, Musannaf Ibn Abi Shaybah 25061]
Ibrahim an-Nakha'ee said:
"We were beaten for swearing and testifying when we were too young to do so."
[Sahih al-Bukhari 3651]
قال الأثرم: سُئل أحمد عن ضرب المعلم الصبيان؟ قال: على قدر ذنوبهم، ويتوقى بجهده الضرب، وإذا كان صغيرًا لا يعقل فلا يضربه.
Al-Athram narrated what Imam Ahmed said about the teacher and the beating of students:
"The students are beaten according to their misbehavior, and the teacher should avoid hitting them hard. And if the student is young and does not understand, then the teacher should not hit him."
[Al-Mughni 8/116, Al-Adab al-Shar'iyyah 1/477]
3. As a discipline for good manners and behavior
Islam places great emphasis on good manners and behavior. It is also seen as one of the qualities that every Muslim should have.
The Prophet (ﷺ) said:
"The best among you are those with the best manners and character."
[Sahih al-Bukhari 3559]
Be aware that hitting should not be the first measure towards correcting behavior. Islam also emphasizes on forgiving and being merciful with children.
The child is disciplined to properly interact with his or her friends, family, teachers, and more. The measures of bad behavior in a child are diverse, and Islam encourages the parent to be sympathetic towards the child. Children make mistakes because they do not yet fully understand what is right and wrong.
قال الشالنجي: سألت أحمد عما يجوز فيه ضرب الولد؟ قال: الولد يضرب على الأدب.
Imam Ahmad said:
"The child is (lightly) beaten for upbringing."
[Adab al-Shar'iyyah 1/451]
علي بن أبي طالب رضي الله عنه في قوله: * (قوا أنفسكم وأهليكم نارا) * قال: علموهم وأدبوهم.
Ali ibn Abi Talib said regarding the verse ('Save yourself and your families from the Hellfire'):
"Educate and discipline them."
[Musnad Ibn Mubarak 190]
قال: أخبرنا أحمد بن محمد بن الوليد الأزرقي قال: حدثنا عطاف بن خالد قال: كنت قائما مع سالم بن عبد الله فأتي بغلام ومعه غلمان وهو أشقهم فسل خيطا من أزراره فقطعه ثم جمعه بين إصبعيه ثم تفل فيه مرتين أو ثلاثا ثم مده فإذا هو صحيح لا بأس به. فقال سالم: لو وليت من أمره شيئا لصلبته.
[طبقات الكبرى - الجزء ٥ - الصفحة ١٥٤]
‘Aṭṭāf ibn Khālid said: I was standing with Salim ibn Abdullah (grandson of Umar ibn al-Khattab) when a boy came along with some other boys. Among them was the most mischievous one. This mischievous boy pulled a thread from the buttons of Salim’s garment. Then he twisted the thread between his fingers, spat on it two or three times, and stretched it. To everyone’s surprise, the thread was still intact and not damaged.
Salim ibn Abdullah then said, “If I were responsible for him, I would have greatly disciplined him.”
[Tabaqat al-Kubra - Volume 5 - Page 154]
The boy was unmannered and tried to damage Salim's garment in order to make him upset. Salim did not approve of this, and made clear that if he were to be responsible for this kid, he would have disciplined him.