Sura Az-Zumar

39:35

لِيُكَفِّرَ ٱللَّهُ عَنْهُمْ أَسْوَأَ ٱلَّذِى عَمِلُوا۟ وَيَجْزِيَهُمْ أَجْرَهُم بِأَحْسَنِ ٱلَّذِى كَانُوا۟ يَعْمَلُونَ

och därför skall Gud stryka ut [ur deras bok] deras sämsta handlingar och löna dem efter det bästa de gjorde.

Tafsir 39:35

So that Allah erases from them the worst sins that they used to do in the world, as they had repented from them and had turned towards their Lord, and rewards them according to the best deeds that they used to do.