Mishkat
al-Masabih
مشكاة المصابيح
Prayer
كتاب الصلاة
Chapter : Section 2
الفصل الثاني
Mishkat al-Masabih 572, 573
‘Amr b. Shu'aib said on his father’s authority that his grandfather reported Allah's Messenger ﷺ as saying, “Command your children to observe prayer when they are seven years old, and beat them for [not observing] it when they are ten years old, and do not let [boys and girls] sleep together.” Abu Dawud transmitted it; and Baghawi transmitted it thus from him in Sharh as-sunna but in al-Masabih from Sabra b. Ma‘bad.
وَعَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مُرُوا أَوْلَادَكُمْ بِالصَّلَاةِ وَهُمْ أَبْنَاءُ سَبْعِ سِنِينَ وَاضْرِبُوهُمْ عَلَيْهَا وَهُمْ أَبْنَاءُ عَشْرٍ سِنِين وَفَرِّقُوا بَيْنَهُمْ فِي الْمَضَاجِعِ» . رَوَاهُ أَبُو دَاوُدَ وَكَذَا رَوَاهُ فِي شرح السّنة عَنهُ وَفِي المصابيح عَن سُبْرَة بن معبد
In-book reference: Mishkat al-Masabih Book 4 Chapter Hadith 1