Abu Umama Bahili reported,

The Messenger of Allah ﷺ said, "There are three whom Allah عز وجل guarantees. A man who goes out as a warrior in the path of Allah is guaranteed by Allah, who will either take his soul and admit him into Paradise, or return him with whatever reward and spoils he has gained. A man who goes to the mosque is guaranteed by Allah, who will either take his soul and admit him into Paradise, or return him with whatever reward and spoils he has gained. And a man who enters his house with peace is guaranteed by Allah عز وجل."

Abu Dawud 2494

Sahih

حدثنا عبد السلام بن عتيق حدثنا أبو مسهر حدثنا إسمعيل بن عبد الله يعني ابن سماعة حدثنا الأوزاعي حدثني سليمان بن حبيب

عن أبي أمامة الباهلي

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

أبو داود 2494صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Jihad
Chapter
Virtue of military expeditions at sea
Numbering
Darussalam 2494
Abu Dawud 2494