I came across this. Is this true? قال الشيخ الألباني رحمه الله : "ما يفعله الولد الصالح من الأعمال الصالحة فإن لوالديه مثل أجره، دون أن ينقص من أجره شيء؛ لأنّ الولد من سعيهما وكسبهما، وقد قال ﷺ : "إن أطيب ما أكل الرجل من كسبه، وإنّ ولده من كسبه". . أحكام الجنائز ص١٢٦ - ١٢٧ Jazakallahu khairan

Ustadh AbdulAziz al-Haqqan
Yes, the hadith is authentic, graded sahih by Shaykh al-Albani rahimahullah, reported from Aisha radiyallahu anha. And the meaning that a righteous child's deeds bring reward to the parents has a basis with the scholars, since the child is from the striving of the parents, though they differ over its extent.