Sunan Ibn Majah – Hadith No : 1593

It wasnarrated from Jabir bin Samurah that a man from among theCompanionsof the Prophet (ﷺ) was wounded, and the wound caused hima greatdeal of pain. He went and took a spearhead, and slaughteredhimselfwith it. The Prophet (ﷺ) did not offer the funeral prayerfor him,and that was as an admonition for others.

Hadith In Arabic Text :

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

Chapter : Chapters Regarding Funerals – كتاب الجنائز