Abdullah bin Abbas reported,

I heard Umar bin Khattab say, "Stoning is prescribed in the Book of Allah as a due punishment upon any man or woman who commits adultery after marriage, when the evidence is established, or when there is pregnancy, or a confession."

Azami 6965

Sahih

عن عبد الله بن عباس أنه قال

سمعت عمر بن الخطاب يقول: الرجم في كتاب الله حق على من زنى من الرجال والنساء إذا أحصن، إذا قامت البينة، أو كان الحبل أو الاعتراف.

الأعظمي 6965صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Legal punishments
Chapter
Hadd of zina
Section
Hadd punishment for zina is not established except by confession, evidence, or pregnancy
Numbering
Jami al-Kamil 6965 (2nd edition)
Azami 6965