Thalaba bin Zahdam reported,

The Messenger of Allah ﷺ was addressing a gathering of the Ansar when they said, "Messenger of Allah, these are the sons of Thalaba bin Yarbu. They killed so-and-so during the days of ignorance."The Prophet ﷺ then called out in a raised voice, "No soul is held accountable for the crime of another."

Azami 6892

Sahih

عن ثعلبة بن زهدم اليربوعي قال

كان رسول الله ﷺ يخطب في أناس من الأنصار. فقالوا: يا رسول الله هؤلاء بنو ثعلبة بن يربوع قتلوا فلانا في الجاهلية فقال النبي ﷺ وهتف بصوته: ألا لا تجني نفس على الأخرى.

الأعظمي 6892صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Retaliation and crimes
Chapter
Blood money
Section
No one is to be punished for the crime of another, even if it be his father or brother
Numbering
Jami al-Kamil 6892 (2nd edition)
Azami 6892