Sahih Muslim 1886
Sahih Muslim · Book 33: The Book on Government · If a person is killed in the cause of Allah, all his sins will be expiated except debt
It has been reported on the authority of Amr b. al-'As through a different chain of transmitters that the Messenger of Allah (ﷺ) said:
وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يَزِيدَ الْمُقْرِئُ ، حَدَّثَنَا سَعِيدُ بْنُ أَبِي، أَيُّوبَ حَدَّثَنِي عَيَّاشُ بْنُ عَبَّاسٍ الْقِتْبَانِيُّ ، عَنْ أَبِي عَبْدِ الرَّحْمَنِ الْحُبُلِيِّ ، عَنْ عَبْدِ اللَّهِ بْنِ، عَمْرِو بْنِ الْعَاصِ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ " الْقَتْلُ فِي سَبِيلِ اللَّهِ يُكَفِّرُ كُلَّ شَىْءٍ إِلاَّ الدَّيْنَ " .
Death in the way of Allah blots out everything except debt.