عَنْ عُتْبَةَ بْنِ عَبْدٍ السُّلَمِيِّ وَكَانَ مِنْ أَصْحَابِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ الْقَتْلُ ثَلَاثَةٌ رَجُلٌ مُؤْمِنٌ قَاتَلَ بِنَفْسِهِ وَمَالِهِ فِي سَبِيلِ اللَّهِ حَتَّى إِذَا لَقِيَ الْعَدُوَّ قَاتَلَهُمْ حَتَّى يُقْتَلَ فَذَلِكَ الشَّهِيدُ الْمُفْتَخِرُ فِي خَيْمَةِ اللَّهِ تَحْتَ عَرْشِهِ لَا يَفْضُلُهُ النَّبِيُّونَ إِلَّا بِدَرَجَةِ النُّبُوَّةِ وَرَجُلٌ مُؤْمِنٌ قَرَفَ عَلَى نَفْسِهِ مِنَ الذُّنُوبِ وَالْخَطَايَا جَاهَدَ بِنَفْسِهِ وَمَالِهِ فِي سَبِيلِ اللَّهِ حَتَّى إِذَا لَقِيَ الْعَدُوَّ قَاتَلَ حَتَّى يُقْتَلَ مُحِيَتْ ذُنُوبُهُ وَخَطَايَاهُ إِنَّ السَّيْفَ مَحَّاءُ الْخَطَايَا وَأُدْخِلَ مِنْ أَيِّ أَبْوَابِ الْجَنَّةِ شَاءَ فَإِنَّ لَهَا ثَمَانِيَةَ أَبْوَابٍ وَلِجَهَنَّمَ سَبْعَةُ أَبْوَابٍ وَبَعْضُهَا أَفْضَلُ مِنْ بَعْضٍ وَرَجُلٌ مُنَافِقٌ جَاهَدَ بِنَفْسِهِ وَمَالِهِ حَتَّى إِذَا لَقِيَ الْعَدُوَّ قَاتَلَ فِي سَبِيلِ اللَّهِ حَتَّى يُقْتَلَ فَإِنَّ ذَلِكَ فِي النَّارِ السَّيْفُ لَا يَمْحُو النِّفَاقَ
Sayyiduna Utbah bin Abd Sulami, may Allah be pleased with him, who was among the Companions of the Messenger, narrates that the Messenger of Allah, peace and blessings be upon him, said: There are three types of killing: (1) The believer who fights in the way of Allah with his life and wealth; when he confronts the enemy, he fights them until he is martyred. He is the martyr who will boast in the tent of Allah under the Throne of Allah; the Prophets will only have superiority over such a martyr due to the rank of Prophethood. (2) The believer who has committed sins against himself and fights in the way of Allah with his life and wealth; when he meets the enemies, he fights them until he is martyred. The sins of such a martyr are forgiven; indeed, the sword wipes away sins. Such a martyr will enter Paradise through whichever of its eight gates he wishes; some of these gates are superior to others, and Hell has seven gates. (3) The hypocrite who fights with his life and wealth; when he confronts the enemy, he fights in the way of Allah until he is killed. This person will be in Hell, because the sword cannot wipe away the sin of hypocrisy.