Jabir bin Samura reported,

A man from among the companions of the Prophet ﷺ was wounded, and the wound caused him great suffering. He crawled to a set of arrowheads and slit his own throat with them. The Prophet ﷺ did not perform the funeral prayer over him. He said, this was done by him as a form of discipline.

Ibn Majah 1526

Sahih

حدثنا عبد الله بن عامر بن زرارة حدثنا شريك بن عبد الله عن سماك بن حرب

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

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

ابن ماجه 1526صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Funerals
Chapter
Prayer for the people of the qibla
Numbering
Darussalam 1526
Ibn Majah 1526