It is narrated from Abu Rimtha (may Allah be pleased with him), he said: "I went with my father to the presence of the Messenger of Allah (ﷺ), and my father saw something on the back of the Messenger of Allah (ﷺ) and said: 'Allow me to treat what is on your back, for I am a physician.' The Prophet (ﷺ) said: 'You are a good companion.' And the Messenger of Allah (ﷺ) asked: 'Who is this with you?' He replied: 'This is my son, I bear witness to him.' The Prophet (ﷺ) said: 'Beware! You will not be held accountable for your son's faults, nor will your son be held accountable for your faults.'"
Hadith Referenceمسند الإمام الشافعي / كتاب القتل والقصاص والديات والقسامة / 1621
Hadith Takhrijأخرجه ابوداود، الديات، باب لا يؤخذ الرجل بجريرة ابيه أو أخيه (4495) والنسائي، القسامة، هل يؤخذ احد بجريرة غيره (4836) وصححه ابن الجارود (770) والحاكم : 2/ 425 - وابن حبان۔