Surah An-Naml 27:11

The Ant · Verse 11 of 93 · Juz 19 · Page 377

إِلَّا مَن ظَلَمَ ثُمَّ بَدَّلَ حُسْنًۢا بَعْدَ سُوٓءٍ فَإِنِّى غَفُورٌ رَّحِيمٌ

Otherwise, he who wrongs, then substitutes good after evil - indeed, I am Forgiving and Merciful.

Translation: Saheeh International

Tafsir

except him who has wronged his soul but then changed his wrong for good — he then performs good deeds — after having done evil in other words he has repented then truly I am Forgiving Merciful I will accept his repentance and forgive him.

Excerpt from Tafsir al-Jalalayn, commentary on 27:11, via Quran.com. The reader has the full commentary and 9 more tafsirs.