أَخْبَرَنَا سَعِيدٌ، نا خَلَفُ بْنُ خَلِيفَةَ، قَالَ: سَمِعْتُ وَاللَّهِ مُحَارِبَ بْنَ دِثَارٍ يَقُولُ: قَالَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «الْوَلَدُ مِنْ كَسْبِ الْوَالِدِ»
It is narrated from Muharib bin Dithar (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) said: "Children are from the earnings of the father."
Brief Explanation
This hadith with this subject matter is also found in other books: Sunan Abi Dawud (3530), Musnad Ahmad (20125), Ibn Majah (2291), etc.