Surah [4] An-Nisa' : 16

وَالَّذٰنِ يَاۡتِيٰنِهَا مِنۡكُمۡ فَاٰذُوۡهُمَا‌ ۚ فَاِنۡ تَابَا وَاَصۡلَحَا فَاَعۡرِضُوۡا عَنۡهُمَا‌ ؕ اِنَّ اللّٰهَ كَانَ تَوَّابًا رَّحِيۡمًا(النساء :16)

وَٱلَّذَانِ
And the two who
يَأْتِيَٰنِهَا
commit it
مِنكُمْ
among you
فَـَٔاذُوهُمَاۖ
then punish both of them
فَإِن
But if
تَابَا
they repent
وَأَصْلَحَا
and correct themselves
فَأَعْرِضُوا۟
then turn away
عَنْهُمَآۗ
from both of them
إِنَّ
Indeed
ٱللَّهَ
Allah
كَانَ
is
تَوَّابًا
Oft-forgiving
رَّحِيمًا
Most-Merciful

Waallathani yatiyaniha minkum faathoohuma fain taba waaslaha faa'ridoo 'anhuma inna Allaha kana tawwaban raheeman

Sahih International:

And the two who commit it among you, dishonor them both. But if they repent and correct themselves, leave them alone. Indeed, Allah is ever Accepting of repentance and Merciful.

Tafsir (More Translations)
Surah [24] An-Nur : 2

اَلزَّانِيَةُ وَالزَّانِىۡ فَاجۡلِدُوۡا كُلَّ وَاحِدٍ مِّنۡهُمَا مِائَةَ جَلۡدَةٍ‌ ۖ وَّلَا تَاۡخُذۡكُمۡ بِهِمَا رَاۡفَةٌ فِىۡ دِيۡنِ اللّٰهِ اِنۡ كُنۡتُمۡ تُؤۡمِنُوۡنَ بِاللّٰهِ وَالۡيَوۡمِ الۡاٰخِرِ‌ۚ وَلۡيَشۡهَدۡ عَذَابَهُمَا طَآٮِٕفَةٌ مِّنَ الۡمُؤۡمِنِيۡنَ(النور :2)

ٱلزَّانِيَةُ
The fornicatress
وَٱلزَّانِى
and the fornicator
فَٱجْلِدُوا۟
[then] flog
كُلَّ
each
وَٰحِدٍ
one
مِّنْهُمَا
of them
مِا۟ئَةَ
(with) hundred
جَلْدَةٍۖ
lash(es)
وَلَا
And (let) not
تَأْخُذْكُم
withhold you
بِهِمَا
pity for them
رَأْفَةٌ
pity for them
فِى
concerning
دِينِ
(the) religion of Allah
ٱللَّهِ
(the) religion of Allah
إِن
if
كُنتُمْ
you
تُؤْمِنُونَ
believe
بِٱللَّهِ
in Allah
وَٱلْيَوْمِ
and the Day
ٱلْءَاخِرِۖ
the Last
وَلْيَشْهَدْ
And let witness
عَذَابَهُمَا
their punishment
طَآئِفَةٌ
a group
مِّنَ
of
ٱلْمُؤْمِنِينَ
the believers

Alzzaniyatu waalzzanee faijlidoo kulla wahidin minhuma miata jaldatin wala takhuthkum bihima rafatun fee deeni Allahi in kuntum tuminoona biAllahi waalyawmi alakhiri walyashhad 'athabahuma taifatun mina almumineena

Sahih International:

The [unmarried] woman or [unmarried] man found guilty of sexual intercourse - lash each one of them with a hundred lashes, and do not be taken by pity for them in the religion of Allah, if you should believe in Allah and the Last Day. And let a group of the believers witness their punishment.

Tafsir (More Translations)

Complete Indexing of Quran Topics

We have indexed and found 2 verses about or related to (including the word(s)) "Witness, to illegal sexual intercourse".

For your information, the verses as described above: