If a person is killed in the cause of Allah, all his sins will be expiated except debt Sahih Muslim 1885 b
Arabic hadith text
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَمُحَمَّدُ بْنُ الْمُثَنَّى، قَالاَ حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا
يَحْيَى، - يَعْنِي ابْنَ سَعِيدٍ - عَنْ سَعِيدِ بْنِ أَبِي سَعِيدٍ الْمَقْبُرِيِّ، عَنْ عَبْدِ اللَّهِ بْنِ أَبِي قَتَادَةَ،
عَنْ أَبِيهِ، قَالَ جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ أَرَأَيْتَ إِنْ قُتِلْتُ فِي
سَبِيلِ اللَّهِ بِمَعْنَى حَدِيثِ اللَّيْثِ .
Translation
The tradition has been narrated through a different chain of transmitters on the authority of Abu Qatada who said
A man came to the Messenger of Allah (ﷺ) while he was on the pulpit and said: Do you think if I am killed in the way of Allah... (except this difference in its beginning, the rest of the tradition is the same as the previous one).