It was narrated from 'Abdullah bin Abi Qatadah that his father said:
A man came to the Messenger of Allah (ﷺ) and said: 'O Messenger of Allah, if I am killed in the cause of Allah with patience and seeking reward, facing the enemy and not running away, do you think that Allah will forgive my sins?' The Messenger of Allah (ﷺ) said: 'Yes.' When the man turned away, the Messenger of Allah (ﷺ) called him back and said: 'What did you say?' He repeated his question, and the Messenger of Allah (ﷺ) said: 'Yes, except debt. Jibril told me.'