Jami` at-Tirmidhi, Book 37, Hadith 91 (Tirmidhi 2575)

Khalid bin Ma'dan narrated from Mu'adh bin Jabal that the Messenger of Allah (s.a.w) said:

"Whoever shames his brother for a sin, he shall not die until he (himself) commits it." (One of the narrators) Ahmad said: They said: 'From a sin he has repented from."