(10) باب فَضْلِ الْغَزْوِ فِي الْبَحْرِ
Abu Umamat Al Bahili reported the Apostle of Allaah(ﷺ) as saying "There are three persons who are in the security of Allaah, the Exalted." "A man who goes out on an expedition to fight in the path of Allaah, the Exalted, is in the security of Allaah, until He takes him unto Him(i.e., he dies) and brings him into Paradise or brings him(alive) with reward and booty he obtains and a man who goes to the mosque is in the security of Allaah, until he takes him unto Him(i.e., he dies), and he brings him into Paradise or brings him with reward and spoils he obtains; and a man who enters his house after giving salutation is in the security of Allaah, the Exalted."
Reference: Sunan Abi Dawud 2494
In-book reference: Book 15, Hadith 18
English translation: Book 14, Hadith 2488