And the two among you who commit this sin—discipline them. If they repent and mend their ways, relieve them. Surely Allah is ever Accepting of Repentance, Most Merciful.
— Dr. Mustafa Khattab, the Clear Quran
And the two1 who commit it [i.e., unlawful sexual intercourse] among you - punish [i.e., dishonor] them both. But if they repent and correct themselves, leave them alone. Indeed, Allah is ever Accepting of Repentance and Merciful.
— Saheeh International