Surah An-Noor

24:5

إِلَّا ٱلَّذِينَ تَابُوا۟ مِنۢ بَعْدِ ذَٰلِكَ وَأَصْلَحُوا۟ فَإِنَّ ٱللَّهَ غَفُورٌۭ رَّحِيمٌۭ

Except for those who repent thereafter and reform, for indeed, Allah is Forgiving and Merciful.

Tafsir 24:5

Except those who repent to Allah after what they have done and correct their actions, for Allah will accept their repentance and their testimony. Allah is Forgiving to those of His servants who repent and is Merciful to them.