Command your children to pray when they are seven years old, and beat them for (not offering) it when they are ten, and separate them (boys and girls) in beds
Chapter: When A Boy Should Be Ordered To Offer As-Salat
‘Amr ibn Shu‘ayb reported from his father on the authority of his grandfather that the Messenger of Allah (may Allah's peace and blessings be upon him) said:
"Command your children to pray when they are seven years old, and beat them for (not offering) it when they are ten, and separate them (boys and girls) in beds."
Reported by Abu Dawud (No. 495, 1151, 2129, 3504), At-Tirmidhi (No. 1181, 1234, 2819, 3471), An-Nasa’i (No. 3353, 4611, 4630) and Ahmad (No. 6384, 6422, 6491, 6640, 6668).
The Prophet (may Allah's peace and blessings be upon him) clarified that the father should command his children - boys and girls - to pray when they are seven years old, and he should teach them what they need to establish prayer. On reaching ten, he should add the beating if they show negligence in observing the prayer. Moreover, he should separate them in beds.
Lessons
Teaching young children before reaching the age of puberty matters of religion, the most important of which is prayer.
Beating should be for the sake of discipline, not torture, so he should beat in a way that suits the child's circumstance.
The Shariah cares about protecting people's honor and blocks all means that may lead to corruption.
Explanation in Arabic
بَيَّنَ النبيُّ صلى الله عليه وسلم أنَّ على الأبِ أنْ يأمُرَ أولادَه -الذكور والإناث- بالصلاة وأعمارهم سبع سنين، ويُعَلِّمهم ما يحتاجون لإقامتها.
وإذا بَلَغُوا عشرَ سنين زادَ في الأمر، فيضرب على التقصير فيها، ويُفَرِّق بينهم في الفِراش.
تعليم الأولاد الصغار قبل البلوغ أمورَ الدين، ومن أهمِّها الصلاة.
الضرب يكون للتأديب، وليس للتعذيب، فيضرب ضربًا يليق بحالِه.
عناية الشريعة بحفظ الأعراض، وسدُّها كلَّ طريقٍ قد يُفضي إلى الفساد.
‘Amr ibn Shu‘ayb reported from his father that his grandfather said that the Messenger of Allah (may Allah’s peace and blessings be upon him) said: “The son of Adam cannot make a vow concerning what is not his; he cannot free a slave who is not his; and he cannot divorce a woman who is not his…
و عن أبي ثرية سبرة بن معبد الجهني رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : " علموا الصبي الصلاة لسبع سنين" واضربوه عليها ابن عشر سنين" حديث حسن رواه أبو داود، والترمذي وقال حديث حسن. ولفظ أبي…