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

Sahih Muslim Book 33 Hadith 180

Sahih Muslim #1886 b

The Book on Government 33:180

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.

Chapter: If a person is killed in the cause of Allah, all his sins will be expiated except debt

Grade: Sahih