Sura Al-Furqaan

25:70

إِلَّا مَن تَابَ وَءَامَنَ وَعَمِلَ عَمَلًۭا صَٰلِحًۭا فَأُو۟لَٰٓئِكَ يُبَدِّلُ ٱللَّهُ سَيِّـَٔاتِهِمْ حَسَنَٰتٍۢ ۗ وَكَانَ ٱللَّهُ غَفُورًۭا رَّحِيمًۭا

De skall inte straffas som visar ånger och blir troende och lever ett rättskaffens liv. I stället för deras dåliga handlingar skall Gud sätta goda handlingar, därför att Gud är ständigt förlåtande, barmhärtig;

Tafsir 25:70

But those who repent to Allah and do good deeds that indicate the sincerity of their repentance, then Allah will change the evil deeds of such people into good ones. Allah is Forgiving of the sins of those of His servants who repent and He is Merciful towards them.