3:135

وَالَّذِينَ إِذَا فَعَلُوا فَاحِشَةً أَوْ ظَلَمُوا أَنفُسَهُمْ ذَكَرُوا اللَّهَ فَاسْتَغْفَرُوا لِذُنُوبِهِمْ وَمَن يَغْفِرُ الذُّنُوبَ إِلَّا اللَّهُ وَلَمْ يُصِرُّوا عَلَىٰ مَا فَعَلُوا وَهُمْ يَعْلَمُونَ

Transliteration:

Waallatheena itha faAAaloo fahishatan aw thalamoo anfusahum thakaroo Allaha faistaghfaroo lithunoobihim waman yaghfiru alththunooba illa Allahu walam yusirroo AAala ma faAAaloo wahum yaAAlamoona

Word by Word:

And those when they did immorality or wronged themselves - they remember Allah then ask forgiveness for their sins - and who (can) forgive the sins except Allah? And not they persist on what they did while they know.

Translations:

and who, when they have committed a shameful deed or have [otherwise] sinned against themselves, remember God and pray that their sins be forgiven - for who but God could forgive sins? - and do not knowingly persist in doing whatever [wrong] they may have done.

And those who, having done something to be ashamed of, or wronged their own souls, earnestly bring God to mind, and ask for forgiveness for their sins,- and who can forgive sins except God?- and are never obstinate in persisting knowingly in ( the wrong) they have done.

And those who, when they do an evil thing or wrong themselves, remember Allah and implore forgiveness for their sins - Who forgiveth sins save Allah only? - and will not knowingly repeat (the wrong) they did.

And those who, when they commit an indecency or wrong their souls, remember Allah and ask forgiveness for their sins. And who forgives sins but Allah? And they persist not knowingly in what they do.

And those who, when they commit an immorality or wrong themselves [by transgression], remember Allah and seek forgiveness for their sins - and who can forgive sins except Allah ? - and [who] do not persist in what they have done while they know.