It is narrated from Hazrat Jabir (may Allah be pleased with him) that a companion of the Prophet (peace and blessings be upon him) was wounded. When the pain from his wounds increased, he cut open his chest with a knife (committed suicide). Upon hearing this, the Prophet (peace and blessings be upon him) did not offer his funeral prayer.
Hadith Referenceمسند احمد / أول مسند البصريين / 20883
Hadith Gradingحکم دارالسلام:حديث حسن، وهذا إسناد ضعيف، شريك سيئ الحفظ، لكنه توبع