Narrated Abu Huraira:
We witnessed (the battle of) Khaibar. Allah's Apostle ﷺ said about one of those who were with him and who claimed to be a Muslim. "This (man) is from the dwellers of the Hell-Fire." When the battle started, that fellow fought so violently and bravely that he received plenty of wounds. Some of the people were about to doubt (the Prophet's statement), but the man, feeling the pain of his wounds, put his hand into his quiver and took out of it, some arrows with which he slaughtered himself (i.e. committed suicide). Then some men amongst the Muslims came hurriedly and said, "O Allah's Apostle! Allah has made your statement true so-and-so has committed suicide. "The Prophet ﷺ said, "O so-and-so! Get up and make an announcement that none but a believer will enter Paradise and that Allah may support the religion with an unchaste (evil) wicked man.
وَقَالَ شَبِيبٌ عَنْ يُونُسَ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي ابْنُ الْمُسَيَّبِ، وَعَبْدُ الرَّحْمَنِ بْنُ عَبْدِ اللَّهِ بْنِ كَعْبٍ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ شَهِدْنَا مَعَ النَّبِيِّ صلى الله عليه وسلم حُنَيْنًا. وَقَالَ ابْنُ الْمُبَارَكِ عَنْ يُونُسَ عَنِ الزُّهْرِيِّ عَنْ سَعِيدٍ عَنِ النَّبِيِّ صلى الله عليه وسلم. تَابَعَهُ صَالِحٌ عَنِ الزُّهْرِيِّ. وَقَالَ الزُّبَيْدِيُّ أَخْبَرَنِي الزُّهْرِيُّ أَنَّ عَبْدَ الرَّحْمَنِ بْنَ كَعْبٍ أَخْبَرَهُ أَنَّ عُبَيْدَ اللَّهِ بْنَ كَعْبٍ قَالَ أَخْبَرَنِي مَنْ شَهِدَ مَعَ النَّبِيِّ صلى الله عليه وسلم خَيْبَرَ. قَالَ الزُّهْرِيُّ وَأَخْبَرَنِي عُبَيْدُ اللَّهِ بْنُ عَبْدِ اللَّهِ وَسَعِيدٌ عَنِ النَّبِيِّ صلى الله عليه وسلم.
• Sahih al-Bukhari, 4203
• Sahih al-Bukhari, Vol. 5, Book of Military Expeditions led by the Prophet ﷺ (Maghaazi), Hadith 515
• Sahih al-Bukhari, Book of Military Expeditions led by the Prophet ﷺ (Maghaazi), Hadith 515