Abdullah bin Abbas reported,

Umar bin Khattab said, while seated on the pulpit of the Messenger of Allah ﷺ, "Allah sent Muhammad ﷺ with the truth and revealed to him the Book. Among what was revealed to him was the verse of stoning. We recited it, memorized it, and understood it. The Messenger of Allah ﷺ carried out stoning, and we carried it out after him. I fear that as time passes, someone will say, 'We do not find stoning in the Book of Allah,' and they will go astray by abandoning an obligation that Allah revealed. Stoning in the Book of Allah is a binding duty upon any married man or woman who commits adultery, when the evidence is established, or when there is pregnancy, or a confession."

Muslim 4418

Sahih

حدثني أبو الطاهر وحرملة بن يحيى قالا حدثنا ابن وهب أخبرني يونس عن ابن شهاب قال أخبرني عبيد الله بن عبد الله بن عتبة أنه سمع

عبد الله بن عباس يقول

قال عمر بن الخطاب وهو جالس على منبر رسول الله ﷺ إن الله قد بعث محمدا ﷺ بالحق وأنزل عليه الكتاب فكان مما أنزل عليه آية الرجم قرأناها ووعيناها وعقلناها فرجم رسول الله ﷺ ورجمنا بعده فأخشى إن طال بالناس زمان أن يقول قائل ما نجد الرجم في كتاب الله فيضلوا بترك فريضة أنزلها الله وإن الرجم في كتاب الله حق على من زنى إذا أحصن من الرجال والنساء إذا قامت البينة أو كان الحبل أو الاعتراف

مسلم 4418صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Legal punishments
Chapter
Stoning the previously married adulterer
Numbering
Darussalam 4418
Muslim 4418