Abu Hurairah reported,

We were present at Khaybar, and the Messenger of Allah ﷺ said about one of the men with him who claimed Islam, "This man is among the people of Hell."When the fighting began, that man fought most fiercely, until he was covered with many wounds, so much so that some people began to have doubts. The man, feeling the pain of his wounds, reached his hand into his quiver, drew out some arrows, and stabbed himself to death with them.Some men of the Muslims rushed forward and said, "Messenger of Allah, Allah has confirmed your words. So-and-so has killed himself."He said, "Stand up, so-and-so, and announce that none shall enter Paradise except a believer. Indeed, Allah supports this religion even by means of a wicked man."Muamar followed it from Zuhri.

Bukhari 4204

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال أخبرني سعيد بن المسيب أن

أبا هريرة رضي الله عنه قال

شهدنا خيبر فقال رسول الله ﷺ لرجل ممن معه يدعي الإسلام هذا من أهل النار فلما حضر القتال قاتل الرجل أشد القتال حتى كثرت به الجراحة فكاد بعض الناس يرتاب فوجد الرجل ألم الجراحة فأهوى بيده إلى كنانته فاستخرج منها أسهما فنحر بها نفسه فاشتد رجال من المسلمين فقالوا يا رسول الله صدق الله حديثك انتحر فلان فقتل نفسه فقال قم يا فلان فأذن أنه لا يدخل الجنة إلا مؤمن إن الله يؤيد الدين بالرجل الفاجر تابعه معمر عن الزهري

البخاري 4204صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Expedition of Khaybar
Numbering
Darussalam 4204
Bukhari 4204