وَالَّذٰنِ يَاۡتِيٰنِهَا مِنۡكُمۡ فَاٰذُوۡهُمَا ۚ فَاِنۡ تَابَا وَاَصۡلَحَا فَاَعۡرِضُوۡا عَنۡهُمَا ؕ اِنَّ اللّٰهَ كَانَ تَوَّابًا رَّحِيۡمًا(النساء :16)
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.
اَلزَّانِيَةُ وَالزَّانِىۡ فَاجۡلِدُوۡا كُلَّ وَاحِدٍ مِّنۡهُمَا مِائَةَ جَلۡدَةٍ ۖ وَّلَا تَاۡخُذۡكُمۡ بِهِمَا رَاۡفَةٌ فِىۡ دِيۡنِ اللّٰهِ اِنۡ كُنۡتُمۡ تُؤۡمِنُوۡنَ بِاللّٰهِ وَالۡيَوۡمِ الۡاٰخِرِۚ وَلۡيَشۡهَدۡ عَذَابَهُمَا طَآٮِٕفَةٌ مِّنَ الۡمُؤۡمِنِيۡنَ(النور :2)
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.
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: