It is narrated from Sayyiduna Jabir bin Samurah (may Allah be pleased with him) that a man from among the Companions of the Prophet (peace and blessings be upon him) was wounded, and the wounds caused him great pain. So he crawled to his quiver, which was attached to his sword, took out an arrowhead and killed himself; so the Prophet (peace and blessings be upon him) did not offer the funeral prayer over him.
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1943