Abu Dawood (459) and Ahmad (6650)
narrated from ‘Amr ibn Shu’ayb from his father that his grandfather said: The
Messenger of Allaah (صلى الله عليه وسلم) said:
“Teach your children to pray when they
are seven years old, and smack them (lightly) if
they do not pray when they are 10 years old, and separate them in their beds.”
Classed as
saheeh by al-Albaani in al-Irwa’ (247).
Ibn Qudaamah
(may Allaah have mercy upon him) said in al-Mughni (1/357):
“This
telling and discipline is prescribed in the case of children in order to train
them to pray, so that they will be used to it and it will become their habit,
and they will not forsake it when they reach puberty.”