Kathir bin Salt reported,

Ibn al-Aas and Zayd bin Thabit were writing out copies of the Quran, and they came upon this verse. Zayd said, "I heard the Messenger of Allah ﷺ say, 'When the old man and the old woman commit adultery, stone them without fail.'"Umar said, "When this was revealed, I went to the Messenger of Allah ﷺ and said, 'Let me write it down for you.'"Shuba said, "It seemed he disliked that."Umar said, "Don't you see that if an older man is not married he is only flogged, while if a young man commits adultery and is married he is stoned?"

Azami 6938

Sahih

عن كثير بن الصلت قال

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

الأعظمي 6938صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Legal punishments
Chapter
Hadd of zina
Section
Affirmation of stoning the married adulterer in the Book of Allah and the Sunnah of the Messenger of Allah ﷺ
Numbering
Jami al-Kamil 6938 (2nd edition)
Azami 6938