24:2
ٱل زَّانِيَةُ وَ ٱل زَّانِى فَ ٱجْلِدُ وا۟ كُلَّ وَٰحِدٍ مِّنْ هُمَا مِا۟ئَةَ جَلْدَةٍ وَ لَا تَأْخُذْ كُم بِ هِمَا رَأْفَةٌ فِى دِينِ ٱللَّهِ إِن كُن تُمْ تُؤْمِنُ ونَ بِ ٱللَّهِ وَ ٱلْ يَوْمِ ٱلْ ءَاخِرِ وَ لْ يَشْهَدْ عَذَابَ هُمَا طَآئِفَةٌ مِّنَ ٱلْ مُؤْمِنِينَ
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.
24:4
وَ ٱلَّذِينَ يَرْمُ ونَ ٱلْ مُحْصَنَٰتِ ثُمَّ لَمْ يَأْتُ وا۟ بِ أَرْبَعَةِ شُهَدَآءَ فَ ٱجْلِدُ و هُمْ ثَمَٰنِينَ جَلْدَةً وَ لَا تَقْبَلُ وا۟ لَ هُمْ شَهَٰدَةً أَبَدًا وَ أُو۟لَٰٓئِكَ هُمُ ٱلْ فَٰسِقُونَ
And those who accuse chaste women and then do not produce four witnesses - lash them with eighty lashes and do not accept from them testimony ever after. And those are the defiantly disobedient,