Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah has guaranteed for the one who goes out to fight in His cause, driven out by nothing except striving in His path and belief in His words, that He will either admit him into Paradise or return him to the home from which he set out, along with whatever reward or spoils of war he has gained."

Bukhari 7457

Sahih

حدثنا إسماعيل حدثني مالك عن أبي الزناد عن الأعرج

عن أبي هريرة

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

البخاري 7457صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tawhid
Chapter
His saying, "And Our word has already preceded for Our servants, the messengers"
Numbering
Darussalam 7457
Bukhari 7457