Surah Az-Zumar 39:35
لِيُكَفِّرَ ٱللَّهُ عَنْهُمْ أَسْوَأَ ٱلَّذِى عَمِلُوا۟ وَيَجْزِيَهُمْ أَجْرَهُم بِأَحْسَنِ ٱلَّذِى كَانُوا۟ يَعْمَلُونَ ٣٥
EnglishSahih International
That Allah may remove from them the worst of what they did and reward them their due for the best of what they used to do.