It was narrated from Ibn 'Umar, from the Prophet (ﷺ), of what he related from his Lord, the Mighty and Sublime:
And of My slaves who goes out as a Mujahid striving in the cause of Allah, seeking my pleasure, I guarantee that I will bring him back with whatever he had earned as reward or spoils of war, and if I take his (soul) I will forgive him and have mercy on him.