The Qur'anic verse goes: "If any of your woman are guilty of lewdness, take the evidence of four (reliable) witnesses from amongst you against them, and if they testify, Confine them to houses until death do chain them or Allah ordains for them some (other) way. Allah then mentioned man after woman and combined them in another verse : "If two men among you are guilty of lewdness, punish them both. If they repent and amend, leave them alone. This command was abrogated by the verse relating to flogging : "The woman and the man guilty of adultery or fornication "“ flog each of them with one hundred stripes.
Reference: Sunan Abi Dawud 4413 In-book : Book 40, Hadith 63 English translation : Book 39, Hadith 4399
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.