وَٱلَّذِينَ إِذَا فَعَلُوا فَـٰحِشَةً أَوْ ظَلَمُوٓا أَنفُسَهُمْ ذَكَرُوا ٱللَّهَ فَٱسْتَغْفَرُوا لِذُنُوبِهِمْ وَمَن يَغْفِرُ ٱلذُّنُوبَ إِلَّا ٱللَّهُ وَلَمْ يُصِرُّوا عَلَىٰ مَا فَعَلُوا وَهُمْ يَعْلَمُونَ
Wallatheena ithafaAAaloo fahishatan aw thalamoo anfusahum thakarooAllaha fastaghfaroo lithunoobihim wamanyaghfiru aththunooba illa Allahuwalam yusirroo AAala ma faAAaloo wahumyaAAlamoon
And those who, when they commit an immorality or wrong themselves [by transgression], remember Allāh and seek forgiveness for their sins - and who can forgive sins except Allāh? - and [who] do not persist in what they have done while they know.