Sahih al-Bukhari 6493
Ali bin Ayyash Alhani Himsi narrated to us that Abu Ghassan told us. He said: Abu Hazim narrated to me. Abu Hazim narrated from Hazrat Sahl bin Sa'd Sa'idi (ra). He said: The Prophet (saw) saw a man who was fighting the polytheists, and he was one of those Muslims who were most useful against the disbelievers. He (saw) said: “Whoever wishes to see a man who is one of the people of Hell, let him look at this man.” On hearing this, a man followed him and stayed behind him until he was wounded, and he hastened his death: he took the point of his sword, placed it in the middle of his chest and leaned his weight on it, so that it passed through and came out between his two shoulders. Then the Prophet (saw) said: “A servant may, as people see it, be doing the deeds of the people of Paradise while in reality he is one of the people of Hell, and sometimes, as people see it, he is doing the deeds of the people of Hell while he is one of the people of Paradise. Deeds are judged only by their endings.”
AI-translated by Islam-Today