Jami` at-Tirmidhi #1620
The Book on Virtues of Jihad 22:2
Narrated Anas bin Malik:
"The Messenger of Allah (ﷺ) said: meaning: Allah Mighty and Sublime is He says: 'The Mujahid in My cause, he has guarantee fro Me. If I I seize him, I cause him to inherit Paradise, and if I return him, I return him with a reward or spoils of war.'"[He said:] This Hadith is Gharib Sahih from this route.