مِن نِّسَآئِكُمْ فَاسْتَشْهِدُواْ عَلَيْهِنَّ أَرْبَعةً مِّنْكُمْ فَإِن شَهِدُواْ فَأَمْسِكُوهُنَّ فِى الْبُيُوتِ حَتَّى يَتَوَفَّاهُنَّ الْمَوْتُ أَوْ يَجْعَلَ اللَّهُ لَهُنَّ سَبِيلاً
(And those of your women who commit illegal sexual intercourse, take the evidence of four witnesses from among you against them; and if they testify, confine them (i.e. women) to houses until death comes to them or Allah ordains for them some (other) way.) `Some other way' mentioned here is the abrogation of this ruling that came later. Ibn `Abbas said, â€The early ruling was confinement, until Allah sent down Surat An-Nur (chapter 24) which abrogated that ruling with the ruling of flogging (for fornication) or stoning to death (for adultery).'' Similar was reported from `Ikrimah, Sa`id bin Jubayr, Al-Hasan, `Ata' Al-Khurasani, Abu Salih, Qatadah, Zayd bin Aslam and Ad-Dahhak, and this is a matter that is agreed upon. Imam Ahmad recorded that `Ubadah bin As-Samit said, â€When the revelation descended upon the Messenger of Allah , it would affect him and his face would show signs of strain. One day, Allah sent down a revelation to him, and when the Messenger was relieved of its strain, he said,