Sahl bin Saad reported,

The Messenger of Allah ﷺ met the polytheists in battle, and they fought one another. When the Messenger of Allah ﷺ withdrew to his camp and the others withdrew to theirs, there was a man among the companions of the Messenger of Allah ﷺ who would not leave any straggler or isolated enemy alone without pursuing him and striking him with his sword.It was said, "No one among us has performed as well today as so-and-so."The Messenger of Allah ﷺ said, "He is among the people of the Fire."A man from the company said, "I will be his companion."So he went out with him. Whenever the man stopped, he stopped with him, and whenever he hurried, he hurried with him. Then the man was severely wounded and, seeking a quick death, he placed his sword on the ground with its tip between his breasts and pressed himself down upon it, killing himself.The man went to the Messenger of Allah ﷺ and said, "I bear witness that you are the Messenger of Allah."He asked, "What is this?"He replied, "The man you mentioned earlier as being among the people of the Fire, the people found that very grave, so I told them I would account for him for them, and I went out searching for him. He was then severely wounded and, seeking a quick death, he placed the blade of his sword on the ground with its tip between his breasts and pressed himself down upon it, killing himself."The Messenger of Allah ﷺ said at that, "A man may perform the deeds of the people of Paradise as it appears to people, while he is among the people of the Fire, and a man may perform the deeds of the people of the Fire as it appears to people, while he is among the people of Paradise."

Bukhari 4203

Sahih

حدثنا قتيبة حدثنا يعقوب عن أبي حازم

عن سهل بن سعد الساعدي رضي الله عنه

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

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