Al-Adab Al-Mufrad, Book 43, Hadith 1094 (English) ⓘ
Abu Umama reported that the Prophet, may Allah bless him and grant him peace, said, Allah is responsible for three: if they live, they will have enough, and if they die, they will enter the Garden. Allah Almighty is responsible for whoever enters his house, saying 'Peace'. Allah is responsible for whoever goes out to the mosque. Allah is responsible for whoever goes out in the Way of Allah."
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، قَالَ: حَدَّثَنَا صَدَقَةُ بْنُ خَالِدٍ، قَالَ: حَدَّثَنَا أَبُو حَفْصٍ عُثْمَانُ بْنُ أَبِي الْعَاتِكَةِ قَالَ: حَدَّثَنِي سُلَيْمَانُ بْنُ حَبِيبٍ الْمُحَارِبِيُّ، أَنَّهُ سَمِعَ أَبَا أُمَامَةَ قَالَ: قَالَ النَّبِيُّ صلى الله عليه وسلم: ثَلاَثَةٌ كُلُّهُمْ ضَامِنٌ عَلَى اللهِ، إِنْ عَاشَ كُفِيَ، وَإِنْ مَاتَ دَخَلَ الْجَنَّةَ: مَنْ دَخَلَ بَيْتَهُ بِسَلاَمٍ فَهُوَ ضَامِنٌ عَلَى اللهِ عَزَّ وَجَلَّ، وَمَنْ خَرَجَ إِلَى الْمَسْجِدِ فَهُوَ ضَامِنٌ عَلَى اللهِ، وَمَنْ خَرَجَ فِي سَبِيلِ اللهِ فَهُوَ ضَامِنٌ عَلَى اللهِ.
also referenced under: Hadith 1094 (Reference) & Book 43, Hadith 44 (In-Book)