5:39
فَمَن تَابَ مِنۢ بَعْدِ ظُلْمِهِۦ وَأَصْلَحَ فَإِنَّ ٱللَّهَ يَتُوبُ عَلَيْهِ ۗ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ
faman tāba min baʿdi ẓul'mihi wa-aṣlaḥa fa-inna l-laha yatūbu ʿalayhi inna l-laha ghafūrun raḥīmun
But if anyone repents after his wrongdoing and makes amends, God will accept his repentance: God is most forgiving, most merciful.
But whosoever repents after his crime and does righteous good deeds (by obeying Allâh), then verily, Allâh will pardon him (accept his repentance). Verily, Allâh is Oft-Forgiving, Most Merciful.