BAYHAQI 15749:
from ʿAmr b. Shuʿayb from his father from his grandfather —
[Machine] A Bedouin man came to the Prophet ﷺ and said, "I have wealth and children, and my father wants to take away my wealth." The Prophet ﷺ said, "You and your wealth belong to your father. Indeed, your children are the best of your earnings."
البيهقي ١٥٧٤٩:
عن عمرو بن شعيب عن أبيه عن جده —
أَنَّ أَعْرَابِيًّا أَتَى النَّبِيَّ ﷺ قَالَ إِنَّ لِي مَالًا وَوَلَدًا وَإِنَّ وَالِدِي يُرِيدُ أَنْ يَجْتَاحَ مَالِي فَقَالَ أَنْتَ وَمَالُكَ لِأَبِيكَ إِنَّ أَوْلَادَكُمْ مِنْ أَطْيَبِ كَسْبِكُمْ
hadithunlocked.com