Sayyiduna Jabir bin Samurah (may Allah be pleased with him) narrates that a man who had killed himself with an arrowhead was brought to the Prophet (peace and blessings be upon him), and he (peace and blessings be upon him) did not offer his funeral prayer.
Ahmad bin Yunus, in a narration, states that a man fell ill and people cried out over him. A man came to the Messenger of Allah (peace and blessings be upon him) and said: That man (the sick one) has died. He (peace and blessings be upon him) said: "What makes you know?" He said: People have cried out over him. He (peace and blessings be upon him) said: "He has not died." Then the man went to see, and he saw that he had slaughtered himself with an arrowhead. Then he went to inform him (peace and blessings be upon him) that he had died. He (peace and blessings be upon him) asked: "How do you know?" He said: I saw that he had killed himself with an arrowhead. So he (peace and blessings be upon him) said: "Then I will not offer his funeral prayer."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6833