Jabir bin Abdullah reported,

A man from Aslam came to the Prophet ﷺ and confessed to fornication. The Prophet ﷺ turned away from him until he had testified against himself four times.The Prophet ﷺ asked him, "Are you insane?"He replied, "No."The Prophet ﷺ asked, "Are you married?"He replied, "Yes."So the Prophet ﷺ ordered that he be stoned at the prayer ground. When the stones struck him painfully, he fled, but he was caught and stoned until he died. The Prophet ﷺ spoke well of him, but did not perform the funeral prayer over him.

Azami 3738

Sahih

عن جابر بن عبد الله

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

الأعظمي 3738صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Omitting the funeral prayer for the one who was stoned
Numbering
Jami al-Kamil 3738 (2nd edition)