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. (ID)
English reference (ID): Vol. 1, Book 6, Hadith 1526 (ID)
Arabic reference (ID): Book 6, Hadith 1593 (ID)