Abu Ramtha reported,

I set out with my father toward the Prophet ﷺ. The Messenger of Allah ﷺ said to my father, "Is this your son?"He replied, "Yes, by the Lord of the Kaabah."The Prophet ﷺ asked, "Truly?"He answered, "I bear witness to it."The Messenger of Allah ﷺ then smiled, laughing at how strongly I resembled my father and at my father's swearing about me. Then he said, "He shall not bring guilt upon you, nor shall you bring guilt upon him." And he recited, "And no bearer of burdens will bear the burden of another" [Fatir 35:18].

Azami 6888

Sahih

عن أبي رمثة قال

انطلقت مع أبي: مع أبي نحو النبي ﷺ فقال رسول الله ﷺ لأبى: ابنك هذا؟ قال: إي ورب الكعبة قال: حقا قال: أشهد به، قال: فتبسم رسول الله ﷺ ضاحكا من ثبت شبهي في أبي. ومن حلف أبي علي. ثم قال: أما إنه لا يجني عليك، لا تجني عليه وقرأ: {ولا تزر وازرة وزر أخرى} [فاطر: ١٨].

الأعظمي 6888صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Retaliation and crimes
Chapter
Blood money
Section
No one is to be punished for the crime of another, even if it be his father or brother
Numbering
Jami al-Kamil 6888 (2nd edition)
Azami 6888