Mishkat al-Masabih 727
وَعَن أبي أُمَامَة الْبَاهِلِيّ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «ثَلَاثَة كلهم ضَامِن على الله عز وَجل رَجُلٌ خَرَجَ غَازِيًا فِي سَبِيلِ اللَّهِ فَهُوَ ضَامِن على الله حَتَّى يتوفاه فيدخله الْجنَّة أَو يردهُ بِمَا نَالَ من أجرأوغنيمة وَرَجُلٌ رَاحَ إِلَى الْمَسْجِدِ فَهُوَ ضَامِنٌ عَلَى الله حَتَّى يتوفاه فيدخله الْجنَّة أَو يردهُ بِمَا نَالَ مِنْ أَجْرٍ وَغَنِيمَةٍ وَرَجُلٌ دَخَلَ بَيْتَهُ بِسَلَامٍ فَهُوَ ضَامِنٌ عَلَى اللَّهِ» . رَوَاهُ أَبُو دَاوُد
And from Abu Umamah al-Bahili, from the Messenger of Allah ﷺ, who said: "Three are all under the guarantee of Allah, Mighty and Majestic: a man who goes out raiding in the way of Allah, he is under the guarantee of Allah until He takes him and admits him to Paradise, or returns him with what he obtained of reward or booty; a man who goes to the mosque, he is under the guarantee of Allah until He takes him and admits him to Paradise, or returns him with what he obtained of reward and booty; and a man who enters his house with salam, he is under the guarantee of Allah." Reported by Abu Dawud.