It was narrated from Al-Ash'ath bin sulaim, from his father that a man from among Banu Tha'labah bin Yarbu' said: "I came to the Prophet when he was speaking, and a man said: “O Messenger of Allah, these are Banu Tha'labah bin Yarbu' who killed so and so.' The Messenger of Allah said: “No,' meaning no soul is affected by the sin of another””"
SahihSahihHasanBook 45 · Hadith 132