قال النبي ﷺ مُروا الصبي بالصلاة إذا بلغ سبع سنين وإذا بلغ عشر سنين فاضربوه عليها
سنن ابي داود
The Prophet (SAW) said: “Make young boys do prayer when they are seven years old, and once they are ten years old, beat them concerning it.”
Sunan Abu Dawud