It is narrated from Sayyiduna Sahl bin Hunayf (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "As soon as the blood of the martyr flows, all his sins are forgiven, except debt."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5531