It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Being killed in the path of Allah expiates everything except debt."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13632