Hadithcore
Al-Adab Al-Mufrad, 1094
sahih· Al-Albani

Abu Umama reported that the Prophet, (ﷺ), 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."

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، قَالَ‏:‏ حَدَّثَنَا صَدَقَةُ بْنُ خَالِدٍ، قَالَ‏:‏ حَدَّثَنَا أَبُو حَفْصٍ عُثْمَانُ بْنُ أَبِي الْعَاتِكَةِ قَالَ‏:‏ حَدَّثَنِي سُلَيْمَانُ بْنُ حَبِيبٍ الْمُحَارِبِيُّ، أَنَّهُ سَمِعَ أَبَا أُمَامَةَ قَالَ‏:‏ قَالَ النَّبِيُّ صلى الله عليه وسلم‏:‏ ثَلاَثَةٌ كُلُّهُمْ ضَامِنٌ عَلَى اللهِ، إِنْ عَاشَ كُفِيَ، وَإِنْ مَاتَ دَخَلَ الْجَنَّةَ‏:‏ مَنْ دَخَلَ بَيْتَهُ بِسَلاَمٍ فَهُوَ ضَامِنٌ عَلَى اللهِ عَزَّ وَجَلَّ، وَمَنْ خَرَجَ إِلَى الْمَسْجِدِ فَهُوَ ضَامِنٌ عَلَى اللهِ، وَمَنْ خَرَجَ فِي سَبِيلِ اللهِ فَهُوَ ضَامِنٌ عَلَى اللهِ‏.‏

References2 variants
In-Book Reference
Book 43, Hadith 44
English Reference
Book 43, Hadith 1094