AbuSalam reported on the authority of a man from the companion of the Prophet ﷺ. He said: We attacked a tribe of Juhaynah. A man from the Muslims pursued a man of them, and struck him but missed him. He struck himself with the sword. The Messenger of Allah ﷺ said: Your brother, O group of Muslims. The people hastened towards him, but found him dead. The Messenger of Allah ﷺ wrapped him with his clothes and his blood, and offered (funeral) prayer for him and buried him. They said: Messenger of Allah, is he a martyr? He said: Yes, and I am witness to him. (Using translation from Abū Dāʾūd 2539)
عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ قَالَ أَغَرْنَا عَلَى حَيٍّ مِنْ جُهَيْنَةَ فَطَلَبَ رَجُلٌ مِنَ الْمُسْلِمِينَ رَجُلًا مِنْهُمْ فَضَرَبَهُ فَأَخْطَأَهُ وَأَصَابَ نَفْسَهُ بِالسَّيْفِ فَقَالَ رَسُولُ اللهِ ﷺ أَخُوكُمْ يَا مَعْشَرَ الْمُسْلِمِينَ فَابْتَدَرَهُ النَّاسُ فَوَجَدُوهُ قَدْ مَاتَ فَلَفَّهُ رَسُولُ اللهِ ﷺ بِثِيَابِهِ وَدِمَائِهِ وَصَلَّى عَلَيْهِ وَدَفَنَهُ فَقَالُوا يَا رَسُولَ اللهِ أَشَهِيدٌ هُوَ؟ قَالَ نَعَمْ وَأَنَا لَهُ شَهِيدٌ