Narrated As-Saburah: The Prophet (ﷺ) said: Command a boy to pray when he reaches the age of seven years. When he becomes ten years old, then beat him for prayer.
Hadith In Arabic Text :
حدثنا محمد بن عيسى، – يعني ابن الطباع – حدثنا إبراهيم بن سعد، عن عبد الملك بن الربيع بن سبرة، عن أبيه، عن جده، قال قال النبي صلى الله عليه وسلم ” مروا الصبي بالصلاة إذا بلغ سبع سنين وإذا بلغ عشر سنين فاضربوه عليها ” .
Chapter : Prayer (Kitab Al-Salat) – كتاب الصلاة