The Holy Quran 20:82 — Surah Taha
Arabic text
وَإِنِّى لَغَفَّارٌ لِّمَن تَابَ وَءَامَنَ وَعَمِلَ صَـٰلِحًا ثُمَّ ٱهْتَدَىٰ
Translation
I am certainly the Most Forgiving towards the one who repents (from kufr and sin), accepts Imaan, does good acts and is thereafter rightly guided (remains steadfast on Imaan and continues to carry out good actions until death).
Tafsir (excerpt) — Tafsir Usmani
In contrast with those who incurred wrath, this is the description of those who are forgiven. That is, however great a criminal a person may be, if he repents with a sincere heart, adopts the path of faith and righteous deeds, and remains steadfast on it until death, then there is no shortage of forgiveness and mercy with Allah.
Preview. The full text opens with JavaScript enabled.