"مروا أولادكم بالصلاة وهم أبناء سبع سنين واضربوهم عليها وهم أبناء عشر سنين وفرقوا بينهم في المضاجع،........ ... "
The Prophet (peace and blessings be upon him) said:
"Command your children to pray when they are seven years old, and beat them for it when they are ten years old, and separate their beds from one another."