Jabir bin Abdullah reported,

A man from Aslam came to the Prophet ﷺ and confessed to committing adultery. The Prophet ﷺ turned away from him. He confessed again, and the Prophet ﷺ turned away from him. He confessed once more, and the Prophet ﷺ turned away from him, until he had testified against himself four times.The Prophet ﷺ then asked, "Are you mad?"He replied, "No."The Prophet ﷺ asked, "Have you been married?"He replied, "Yes."So the Prophet ﷺ ordered that he be stoned. 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.

Nasai 1958

Sahih

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

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

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

النسائي 1958صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Funerals
Chapter
Omitting the funeral prayer for the one who was stoned
Numbering
Darussalam 1958
Nasai 1958