Sabra reported,

The Messenger of Allah ﷺ said, "Instruct the child to pray when he reaches seven years of age, and when he reaches ten, discipline him for neglecting it."

Azami 2358

Hasan

عن سبرة الجهني قال

قال رسول الله ﷺ: مروا الصبي بالصلاة إذا بلغ سبع سنين، وإذا بلغ عشر سنين فاضربوه عليها.

الأعظمي 2358حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Congregational prayer
Section
Commanding the child to pray
Numbering
Jami al-Kamil 2358 (2nd edition)
Azami 2358