It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Order your children to perform prayer at the age of seven, and when they reach the age of thirteen (and are lax in prayer), discipline them for it."
The narrator Dawud is matruk (abandoned), and he contradicted the other reliable narrations in both the chain and the text of this hadith.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الصلاة / 346
Hadith Gradingمحدثین:إسناده ضعيف جدًا
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :قال ابن حجر: دَاوُدُ مَتْرُوكٌ ، وَقَدْ خَالَفَ فِي هَذَا الْحَدِيثِ سَنَدًا وَمَتْنًا ] . » «أخرجه مجمع الزوائد ومنبع الفوائد برقم: 1629، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 775»