Sunan Ibn Majah, Book 21, Hadith 57 (Ibn Majah 2673)
It was narrated that Khashkhash Al-Anbari said:
“I came to the Prophet (ﷺ) and my son was with me. He said: 'You will not be punished because of his crime and he will not be punished because of yours.'”