Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1640Yaḥyá

That the Messenger of Allah ﷺ said: "Dying in the cause of Allah expiates every sin." Jibril said: "Except for debt." So the Messenger of Allah ﷺ said: "Except the debt."  

[Abu 'Eisa said:] There are narrations on this topic from Ka'b bin 'Ujrah, Jabir, Abu Hurairah, and Abu Qatadah. This Hadith is Gharib, we do not know of it as a Hadith of Abu Bakr (a narrator) except from this Shaikh (Yahya bin Talhah) He said: I asked Muhammad bin Isma'il about this Hadith and he did not know it. He said: "I think that he intended the Hadith of Humaid, from Anas, from the Prophet ﷺ that he said: 'There is none from the people of Paradise who would like to return to the world except for the martyr.'"
الترمذي:١٦٤٠حَدَّثَنَا يَحْيَى بْنُ طَلْحَةَ الْيَرْبُوعِيُّ الْكُوفِيُّ حَدَّثَنَا أَبُو بَكْرِ بْنُ عَيَّاشٍ عَنْ حُمَيْدٍ عَنْ أَنَسٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ الْقَتْلُ فِي سَبِيلِ اللَّهِ يُكَفِّرُ كُلَّ خَطِيئَةٍ فَقَالَ جِبْرِيلُ إِلاَّ الدَّيْنَ فَقَالَ النَّبِيُّ ﷺ إِلاَّ الدَّيْنَ  

قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ كَعْبِ بْنِ عُجْرَةَ وَجَابِرٍ وَأَبِي هُرَيْرَةَ وَأَبِي قَتَادَةَ وَهَذَا حَدِيثٌ غَرِيبٌ لاَ نَعْرِفُهُ مِنْ حَدِيثِ أَبِي بَكْرٍ إِلاَّ مِنْ حَدِيثِ هَذَا الشَّيْخِ قَالَ وَسَأَلْتُ مُحَمَّدَ بْنَ إِسْمَاعِيلَ عَنْ هَذَا الْحَدِيثِ فَلَمْ يَعْرِفْهُ وَقَالَ أُرَى أَنَّهُ أَرَادَ حَدِيثَ حُمَيْدٍ عَنْ أَنَسٍ عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ لَيْسَ أَحَدٌ مِنْ أَهْلِ الْجَنَّةِ يَسُرُّهُ أَنْ يَرْجِعَ إِلَى الدُّنْيَا إِلاَّ الشَّهِيدُ

See similar narrations below:

Collected by Muslim, Ṭabarānī, Suyūṭī
muslim:1886bZuhayr b. Ḥarb > ʿAbdullāh b. Yazīd al-Muqriʾ > Saʿīd b. Abū Ayyūb > ʿAyyāsh b. ʿAbbās al-Qitbānī > Abū ʿAbd al-Raḥman al-Ḥubulī > ʿAbdullāh b. ʿAmr b. al-ʿĀṣ

Death in the way of Allah blots out everything except debt.  

مسلم:١٨٨٦bوَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يَزِيدَ الْمُقْرِئُ حَدَّثَنَا سَعِيدُ بْنُ أَبِي أَيُّوبَ حَدَّثَنِي عَيَّاشُ بْنُ عَبَّاسٍ الْقِتْبَانِيُّ عَنْ أَبِي عَبْدِ الرَّحْمَنِ الْحُبُلِيِّ عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ

أَنَّ النَّبِيَّ ﷺ قَالَ الْقَتْلُ فِي سَبِيلِ اللَّهِ يُكَفِّرُ كُلَّ شَىْءٍ إِلاَّ الدَّيْنَ  

tabarani:13689Hārūn b. Malūl > ʿAbdullāh b. Yazīd al-Muqriʾ > Saʿīd b. Abū Ayyūb > ʿAyyāsh b. ʿAbbās > Abū ʿAbd al-Raḥman > ʿAbdullāh b. ʿAmr

Death in the way of Allah blots out everything except debt. (Using translation from Muslim 1886b)  

الطبراني:١٣٦٨٩حَدَّثَنَا هَارُونُ بْنُ مَلُولٍ قَالَ ثنا عَبْدُ اللهِ بْنُ يَزِيدَ الْمُقْرِئُ قَالَ ثنا سَعِيدُ بْنُ أَبِي أَيُّوبَ عَنْ عَيَّاشِ بْنِ عَبَّاسٍ عَنْ أَبِي عَبْدِ الرَّحْمَنِ عَنْ عَبْدِ اللهِ بْنِ عَمْرٍو

عَنِ النَّبِيِّ ﷺ قَالَ «الْقَتْلُ فِي سَبِيلِ اللهِ يُكَفِّرُ كُلَّ شئٍ إِلَّا الدِّينَ»