Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: Sayyiduna Umar (may Allah be pleased with him) said: Allah Almighty sent Muhammad (peace be upon him) with the truth and revealed the Book (Qur'an) to him in which there was the verse of stoning, which we recited, memorized, and understood. Then the Messenger of Allah (peace be upon him) carried out stoning (of the adulterer), and after him, we also carried out stoning (of the adulterer). I fear that after a long time has passed over the people, someone may say: "We do not find the verse of stoning in the Noble Qur'an." Whereas in the Book of Allah, stoning is a right and established for the married man and woman who commit adultery, when evidence is found for adultery, or pregnancy becomes apparent, or by confession.
Hadith Referenceسنن دارمي / من كتاب الاحدود / 2359
Hadith Takhrijاس روایت کی سند صحیح اور حدیث متفق علیہ ہے۔ دیکھئے: [بخاري 6829] ، [مسلم 1691] ، [أبوداؤد 4418] ، [ترمذي 1432] ، [ابن ماجه 2553] ، [أبويعلی 146، 151] ، [الحميدي 25، وغيرهم]
Brief Explanation
(Commentary on Hadith 2358)
It is established from this hadith that the proof of adultery (zina) is established in three ways: four witnesses, the confession of the perpetrator, or the woman being pregnant.
And if such a situation arises that a woman is neither married nor a slave-girl, yet she is pregnant, then according to Amir al-Mu’minin Sayyiduna Umar radi Allahu anhu and Imam Malik rahimahullah and their students, the prescribed punishment (hadd) for adultery will be applied to her.
However, according to Imam Shafi’i and Abu Hanifah rahimahuma Allah, the hadd will not be carried out merely on account of pregnancy unless witnesses to the act of adultery are found or she confesses to adultery.
From this hadith, it is understood that abrogation (naskh) is found in the Noble Qur’an, and the verse of stoning (ayat al-rajm) was present in the Qur’an, but now its recitation has been abrogated.
Sayyiduna Ubayy ibn Ka’b radi Allahu anhu said that Surah al-Ahzab was as long as Surah al-Baqarah; apart from what is present now, the rest was abrogated, and in it we used to recite: “When a married man or woman commits adultery, then stone them to death.” Later, its recitation was abrogated but the ruling remained.
The concern of Amir al-Mu’minin Sayyiduna Umar ibn al-Khattab radi Allahu anhu proved to be correct; only a short time had passed when the Mu’tazilah denied the punishment of stoning, saying that it is not present in the Book (the Qur’an). Apart from them, all the scholars of the Ummah have considered stoning to be established and obligatory to act upon, and whoever denies it is considered misguided.