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.'”
حَدَّثَنَا عَمْرُو بْنُ رَافِعٍ، حَدَّثَنَا هُشَيْمٌ، عَنْ يُونُسَ، عَنْ حُصَيْنِ بْنِ أَبِي الْحُرِّ، عَنِ الْخَشْخَاشِ الْعَنْبَرِيِّ، قَالَ أَتَيْتُ النَّبِيَّ صلى الله عليه وسلم وَمَعِي ابْنِي فَقَالَ " لاَ تَجْنِي عَلَيْهِ وَلاَ يَجْنِي عَلَيْكَ " .
IbnMaja
The Chapters on Blood Money • Hadith 2671