Read the Arabic text and available English translation from Riyad as-Salihin, with its supplied source reference.
Riyad as-Salihin · App record 301
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مروا أولادكم بالصلاة وهم أبناء سبع سنين، واضربوهم عليها، وهم أبناء عشر، وفرقوا بينهم في المضاجع"
Amr bin Shu'aib reported on his father's authority that his grandfather (May Allah be pleased with him) said:
Messenger of Allah (ﷺ) said, "Command your children to perform Salat (prayer) when they are seven years old, and beat them for (not offering) it when they are ten, and do not let (boys and girls) sleep together".
[Abu Dawud].
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.