It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that 'Umar bin Khattab said:
"I heard the Messenger of Allah (ﷺ) say: 'A father should not be killed for his son.'" (ID)
English reference (ID): Vol. 3, Book 21, Hadith 2662 (ID)
Arabic reference (ID): Book 21, Hadith 2764 (ID)