Sunan an-Nasa'i, Book 45, Hadith 129 (Nasa'i 4844)

It was narrated that Tha'1abah bin Zahdam said:

"Some people from Banu Tha'labah came to the Prophet (ﷺ) when he was delivering a speech and a man said: 'O Messenger of Allah, these are Banu Tha'labah bin Yarbu' who killed so and so' - one of the Companions of the Prophet (ﷺ). The Prophet (ﷺ) said: 'No soul is affected by the sin of another."'