Sahih al-Bukhari 6606
Hibban bin Musa narrated to us that Abdullah (bin Mubarak) told us. Ma'mar informed us. Ma'mar narrated from Zuhri, Zuhri from Sa'id bin Musayyab, Sa'id from Hazrat Abu Hurairah (ra). He said: We were with the Messenger of Allah (saw) at Khaibar. The Messenger of Allah (saw) said about a man who claimed to be a Muslim and was among those who were in his (saw) company: “This man is among the people of Hell.” When the fighting began, that man fought very fiercely and received many wounds, which left him unable to move. Then one of the Companions of the Prophet (saw) came and said: “O Messenger of Allah (saw), have you seen the man about whom you said that he is among the people of Hell? He fought very fiercely in the way of Allah and received many wounds.” The Prophet (saw) said: “Be that as it may, he is among the people of Hell.” (On hearing this) some of the Muslims were close to falling into doubt. He was still saying these things when that man felt the pain of his wounds, and he bent his hand towards his quiver, drew an arrow out of it and killed himself with it. Seeing this, some of the Muslims came running to the Messenger of Allah (saw) and said: “O Messenger of Allah (saw), Allah has proved your word true. So-and-so has killed himself.” The Messenger of Allah (saw) said: “Bilal (ra), stand up and announce (among the people) that none will enter Paradise except a believer, and that Allah sometimes helps this religion even through a wicked man.”
AI-translated by Islam-Today