Abu Qatada reported,

A man came to the Messenger of Allah ﷺ and said, "Messenger of Allah, tell me, if I am killed in the path of Allah while patient, seeking reward, advancing and not retreating, will Allah expiate my sins for me?"The Messenger of Allah ﷺ replied, "Yes."When the man turned away, the Messenger of Allah ﷺ called him back, or ordered that he be called back, and the man was summoned for him. The Messenger of Allah ﷺ asked, "What did you say?"The man repeated his question.The Messenger of Allah ﷺ said, "Yes, except for debt. Jibreel عليه السلام told me so."

Nasai 3158

Sahih

أخبرنا محمد بن سلمة والحارث بن مسكين قراءة عليه وأنا أسمع عن ابن القاسم قال حدثني مالك عن يحيى بن سعيد عن سعيد بن أبي سعيد

عن عبد الله بن أبي قتادة عن أبيه قال

جاء رجل إلى رسول الله ﷺ فقال يا رسول الله أرأيت إن قتلت في سبيل الله صابرا محتسبا مقبلا غير مدبر أيكفر الله عني خطاياي قال رسول الله ﷺ نعم فلما ولى الرجل ناداه رسول الله ﷺ أو أمر به فنودي له فقال رسول الله ﷺ كيف قلت فأعاد عليه قوله فقال رسول الله ﷺ نعم إلا الدين كذلك قال لي جبريل عليه السلام

النسائي 3158صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Jihad
Chapter
One who fought in the cause of Allah while owing a debt
Numbering
Darussalam 3158
Nasai 3158