(2) Prayer (Kitab Al-Salat)
كتاب الصلاة
(175) Chapter: When A Boy Should Be Ordered To Offer As-Salat
(26) باب مَتَى يُؤْمَرُ الْغُلاَمُ بِالصَّلاَةِ
Sunan Abi Dawud 494 

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.

حَدَّثَنَا مُحَمَّدُ بْنُ عِيسَى، - يَعْنِي ابْنَ الطَّبَّاعِ - حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ، عَنْ عَبْدِ الْمَلِكِ بْنِ الرَّبِيعِ بْنِ سَبْرَةَ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ مُرُوا الصَّبِيَّ بِالصَّلاَةِ إِذَا بَلَغَ سَبْعَ سِنِينَ وَإِذَا بَلَغَ عَشْرَ سِنِينَ فَاضْرِبُوهُ عَلَيْهَا ‏"‏ ‏.‏
Grade :  Hasan Sahih (Al-Albani) حسن صحيح  (الألباني)حكم :
Reference : Sunan Abi Dawud 494
In-book reference : Book 2, Hadith 104
English translation : Book 2, Hadith 494