Surah Ali 'Imran 3:135
وَٱلَّذِينَ إِذَا فَعَلُوا۟ فَـٰحِشَةً أَوْ ظَلَمُوٓا۟ أَنفُسَهُمْ ذَكَرُوا۟ ٱللَّهَ فَٱسْتَغْفَرُوا۟ لِذُنُوبِهِمْ وَمَن يَغْفِرُ ٱلذُّنُوبَ إِلَّا ٱللَّهُ وَلَمْ يُصِرُّوا۟ عَلَىٰ مَا فَعَلُوا۟ وَهُمْ يَعْلَمُونَ
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.
Translation: Saheeh International
Tafsir
And who when they commit an indecency a despicable sin such as adultery or wrong themselves with less than that such as a kiss remember God that is to say His threat of punishment and pray forgiveness for their sins — and who that is none shall forgive sins but God? — and who do not persist persevere in what they did …
Excerpt from Tafsir al-Jalalayn, commentary on 3:135, via Quran.com. The reader has the full commentary and 9 more tafsirs.