Wallazaani yaatiyaanihaa minkum fa aazoohumaa fa in taabaa wa aslahaa fa a'ridoo 'anhumaaa; innal laaha kaana Tawwaabar Raheema
And the two 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.
1 Mufti Taqi Usmani
Those two of you who commit it, chastise both of them. However, if they repent and make amends, then, overlook them. Surely, Allah is Most-Relenting, Very-Merciful.