An-Naml 27:11
إِلَّا مَن ظَلَمَ ثُمَّ بَدَّلَ حُسْنًۢا بَعْدَ سُوٓءٍ فَإِنِّى غَفُورٌ رَّحِيمٌ
Illa man thalama thummabaddala husnan baAAda soo-in fa-innee ghafoorun raheem
Otherwise, he who wrongs, then substitutes good after evil - indeed, I am Forgiving and Merciful.
except him who did wrong, then after (having done) evil, replaced (it) with good, then I am Most-Forgiving, Very-Merciful.