Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah has guaranteed for the one who goes out to fight in His cause, leaving his home solely for jihad in His cause and out of belief in His word, that He will either admit him into Paradise or return him to his home with whatever reward or spoils of war he has gained."

Bukhari 7463

Sahih

حدثنا عبد الله بن يوسف أخبرنا مالك عن أبي الزناد عن الأعرج

عن أبي هريرة

أن رسول الله ﷺ قال تكفل الله لمن جاهد في سبيله لا يخرجه من بيته إلا الجهاد في سبيله وتصديق كلمته أن يدخله الجنة أو يرده إلى مسكنه بما نال من أجر أو غنيمة

البخاري 7463صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tawhid
Chapter
Saying of Allah the Exalted, "Say, if the sea were ink for the words of my Lord, the sea would be exhausted before the words of my Lord were exhausted, even if We brought the like of it as a supplement"
Numbering
Darussalam 7463
Bukhari 7463