Sayyiduna Jabir bin Samurah (may Allah be pleased with him) reports: A man was wounded, he came to his quiver, took an arrow, and killed himself with it. So the Prophet Muhammad (peace and blessings be upon him) did not offer his funeral prayer.
Hadith Referenceصحیح ابن حبان / كتاب الجنائز وما يتعلق بها مقدما أو مؤخرا / 3093
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الأحكام» (109): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح