Riyad as-Salihin 1073: On the Excellence of Congregational Prayer
Ibn Mas‘ud said: He who would love to meet Allah tomorrow in a state of obedience to His will should take care of these Prayers when he is summoned for them. Allah has expounded to your Prophet the ways of guidance and these Prayers are a part of them. If you were to say these Prayers at home as does this laggard you would depart from the way of your Prophet, and if you depart from it you would have gone astray. I have known a time when only a confirmed hypocrite would stay away from them. Some of us were brought to the mosque supported between two men till they reached their place in the row (Muslim). Another version is: The Messenger of Allah (saw) taught us the ways of guidance, and part of them is Prayer in the mosque from which the Azan is called.