Sayyiduna Abu Rimthah (may Allah be pleased with him) said: I came with my father to the Prophet (peace and blessings be upon him). We greeted him and sat down, and the Prophet (peace and blessings be upon him) asked: "Is this your son?" My father said: Yes, by the Lord of the Ka'bah! He (peace and blessings be upon him) said: "Truly?" He said: I bear witness to it. The Prophet (peace and blessings be upon him) smiled, because I closely resembled my father and he was also swearing an oath to it. Then he (peace and blessings be upon him) said: "Your son will not be seized for your crime, nor you for your son's." Then he recited this verse: "That no bearer of burdens will bear the burden of another" [Surah al-Najm: 38], up to: "This is a warner like the warners of old" [Surah al-Najm: 56].
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17698