عَنْ جَابِرِ بْنِ سَمُرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ مَاتَ رَجُلٌ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فَأَتَاهُ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ مَاتَ فُلَانٌ قَالَ لَمْ يَمُتْ ثُمَّ أَتَاهُ الثَّانِيَةَ ثُمَّ الثَّالِثَةَ فَأَخْبَرَهُ فَقَالَ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ كَيْفَ مَاتَ قَالَ نَحَرَ نَفْسَهُ بِمِشْقَصٍ قَالَ فَلَمْ يُصَلِّ عَلَيْهِ وَفِي لَفْظٍ قَالَ إِذًا لَا أُصَلِّي عَلَيْهِ
Narrated from Sayyiduna Jabir bin Samurah (may Allah be pleased with him): In the time of the Messenger of Allah, a man died. A person came to the service of the Prophet (peace and blessings be upon him) and said: O Messenger of Allah! So-and-so has died. The Prophet (peace and blessings be upon him) said: He has not died yet. Then that person came a second time and then a third time and said the same thing. The Noble Prophet (peace and blessings be upon him) said to him: How did he die? He said: He killed himself by stabbing himself with a spear. So the Prophet (peace and blessings be upon him) did not perform his funeral prayer. In another narration, it is stated that the Prophet (peace and blessings be upon him) said: Then I will not perform his funeral prayer.