This Hadith ordains every individual in society, whether a ruler or ruled or even a woman who leads her life within the four walls of her house, to perform one's duties within one's own sphere. When warranted by the situation, it is permissible to beat children for their proper upbringing and education. But this should not be in any case violent and aggressive. It should rather be done in a manner that the child does not suffer any physical injury and receives the right type of training. It is an absurd theory that children should be given a free hand, and leave alone the corporal punishment, they should not even be rebuked on doing something wrong.
Suitable punishment is essential for their proper training and education.
This exercise will prove very fruitful when they attain maturity. They will then be conscious that for a Muslim, fasting in the month of Ramadan is compulsory like the five daily Salat. A child generally does not attain maturity at the age of ten years, but nevertheless he does acquire some sense. It is, therefore, necessary that rather than putting children in one bed they are provided separate beds once they reach the age of 10, especially children of the opposite sex. In the early period of Islam, one could not even think of a Muslim who ignored it.