Hadith 4325
Musnad of Abdullah bin Mas'ood
It was narrated that 'Abdullah said:
Whoever would like to meet Allah tomorrow as a Muslim, let him regularly offer these prayers where the call to prayer is given, for Allah has prescribed the ways of guidance to His Prophet (ﷺ) and they (the prayers) are among the ways of guidance. I do not think there is anyone among you who does not have a prayer place in his house, but if you pray in your houses and forsake your mosques you will have forsaken the Sunnah of your Prophet (ﷺ) and if you forsake the Sunnah of your Prophet you will go astray.
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.