'Abdullah bin 'Amr bin Al-'As (May Allah be pleased with them) reported:
The Messenger of Allah (ﷺ) said, "Allah forgives every sin of a martyr, except his debt."[Muslim].Another narration in Muslim is: The Messenger of Allah (ﷺ) said, "Being martyred in the Cause of Allah expiates for everything, except debt."
App reference: Book 12, Hadith 28
Arabic/English book reference: Book 12, Hadith 1312