The Messenger of Allah ﷺ said, "A child cannot repay his parent unless he finds him enslaved, then buys him and sets him free."In the narration of Ibn Abu Shayba, the wording is "a child his father."
حدثنا أبو بكر بن أبي شيبة وزهير بن حرب قالا حدثنا جرير عن سهيل عن أبيه
قال رسول الله ﷺ لا يجزي ولد والدا إلا أن يجده مملوكا فيشتريه فيعتقه وفي رواية ابن أبي شيبة ولد والده