The Messenger of Allah ﷺ said, "A father is not to be killed in retaliation for his child."
حدثنا سويد بن سعيد حدثنا علي بن مسهر عن إسمعيل بن مسلم عن عمرو بن دينار عن طاوس
أن رسول الله ﷺ قال لا يقتل بالولد الوالد
No references are available.
Sourcing, [its chain is daif] Tirmidhi transmitted it with the same chain, see hadith 2599 of this book. The hadith has daif supporting narrations, see the following hadith.