All the sins of a Shahid (martyr) are forgiven except debt.

Sahih Muslim Book 33, Hadith 179