It was narrated that Tariq Al-Muharibi said:
"I saw the Messenger of Allah (ﷺ) raising his hands until I saw the whiteness of his armpits, saying: 'No child should be punished because of his mother's crime, no child should be punished because of his mother's crime." (TR)
English reference (TR): Vol. 3, Book 21, Hadith 2670 (TR)
Arabic reference (TR): Book 21, Hadith 2772 (TR)