It is reported that Al-Ḥasan Al-Baṣrī – Allāh have mercy on him – said:

We used to narrate: Whoever faults his brother for a sin he has repented to Allāh from, Allāh will try him with that very sin.

Aḥmad b. Ḥanbal, Al-Zuhd p342 (Al-ʿIlmīyah ed., 1983).