Sure An-Noor

24:2

ٱلزَّانِيَةُ وَٱلزَّانِى فَٱجْلِدُوا۟ كُلَّ وَٰحِدٍۢ مِّنْهُمَا مِا۟ئَةَ جَلْدَةٍۢ ۖ وَلَا تَأْخُذْكُم بِهِمَا رَأْفَةٌۭ فِى دِينِ ٱللَّهِ إِن كُنتُمْ تُؤْمِنُونَ بِٱللَّهِ وَٱلْيَوْمِ ٱلْءَاخِرِ ۖ وَلْيَشْهَدْ عَذَابَهُمَا طَآئِفَةٌۭ مِّنَ ٱلْمُؤْمِنِينَ

Eine Frau und ein Mann, die Unzucht begehen, geißelt jeden von ihnen mit hundert Hieben. Laßt euch nicht von Mitleid mit ihnen beiden angesichts (der Rechtsbestimmungen) der Religion Allahs ergreifen, wenn ihr an Allah und den Jüngsten Tag glaubt. Und es soll bei (der Vollstreckung) der Strafe an ihnen ein Teil von den Gläubigen zugegen sein.

Tafsir 24:2

The unmarried fornicating man and woman - flog each one of them with a hundred lashes, and no softness or mercy should affect you, whereby you do not establish the fixed punishment upon them or you make it lighter for them, if you believe in Allah and the Last Day. And a group of believers should be present when the fixed punishment is being executed on them, to go to the limit of publicising their crime, and to deter them and others.