Al-Aswad bin Hilal narrates from a man of Banu Tha'labah bin Yarbu' that some people came to the Prophet (peace and blessings be upon him), and someone from Banu Tha'labah had killed a Companion of the Messenger. The people said: O Messenger of Allah! Someone from these Banu Tha'labah has killed so-and-so. He (peace and blessings be upon him) said: "Why should they be punished for someone else's crime?"
Apart from the story, the rest of the hadith is sahih li-ghayrihi (authentic due to supporting narrations).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15900