2. The fornicatress and the fornicator, flog each of them with a hundred stripes. Let not pity withhold you in their case, in a punishment prescribed by Allâh, if you believe in Allâh and the Last Day. And let a party of the believers witness their punishment. (This punishment is for unmarried persons guilty of the above crime, but if married persons commit it (illegal sex), the punishment is to stone them to death, according to Allâh’s Law).[1]
____________________
(V.24:2)
a) Narrated Abu Hurairah رضي الله عنه: Allâh’s Messenger صلى الله عليه وسلم judged that the unmarried person who was guilty of illegal sexual intercourse be exiled for one year and receive the legal punishment (i.e., be flogged with one hundred stripes). (Sahih Al-Bukhâri, Vol.8, Hadith No. 819)
b) Narrated Jâbir bin ‘Abdullâh Al-Ansâri رضي الله عنهما: A man from the tribe of Bani Aslam came to Allâh’s Messenger صلى الله عليه وسلم and informed him that he had committed illegal sexual intercourse and he bore witness four times against himself. Allâh’s Messenger صلى الله عليه وسلم ordered him to be stoned to death as he was a married person. (Sahih Al Bukhari, Vol.8, Hadith No.805).
c) See (V.4:25).