Jabir bin Samura reported,

A man who had killed himself with broad arrowheads was brought to the Prophet ﷺ, and he did not perform the funeral prayer over him.In another narration, the story of this man is mentioned, that he had fallen ill and people cried out in grief over him. His neighbor came to the Messenger of Allah ﷺ and said to him, "He has died."The Messenger of Allah ﷺ asked, "How do you know?"The man replied, "I saw him."The Messenger of Allah ﷺ said, "He has not died."So the neighbor returned. Then people cried out over him again, and the neighbor came back to the Messenger of Allah ﷺ and said, "He has died."The Prophet ﷺ said, "He has not died."He went back, and again people cried out over him. His wife said, "Go to the Messenger of Allah ﷺ and inform him."The man said, "O Allah, curse him."Then the man set off and saw that he had stabbed himself in the throat with a broad arrowhead he had with him. He went to the Prophet ﷺ and informed him that he had died.The Prophet ﷺ asked, "How do you know?"He replied, "I saw him stabbing himself in the throat with broad arrowheads he had with him."The Prophet ﷺ asked, "You saw him do it?"He said, "Yes."The Prophet ﷺ said, "Then I will not perform the funeral prayer over him."

Azami 3737

Sahih

عن جابر بن سمرة قال

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

الأعظمي 3737صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Prayer over one who killed himself, for other than the ruler of the Muslims
Numbering
Jami al-Kamil 3737 (2nd edition)
Azami 3737