Al-A'raf 7:153
وَٱلَّذِينَ عَمِلُوا۟ ٱلسَّيِّـَٔاتِ ثُمَّ تَابُوا۟ مِنۢ بَعْدِهَا وَءَامَنُوٓا۟ إِنَّ رَبَّكَ مِنۢ بَعْدِهَا لَغَفُورٌ رَّحِيمٌ
Wallatheena AAamiloo assayyi-atithumma taboo min baAAdiha waamanoo innarabbaka min baAAdiha laghafoorun raheem
But those who committed misdeeds and then repented after them and believed - indeed your Lord, thereafter, is Forgiving and Merciful.
As for those who do evil, and repent thereafter, and embrace faith, your Lord is then most forgiving, very merciful (for them).