Abdullah bin Masud reported,

Maintain these five prayers wherever the call to them is made, for they are part of the ways of guidance, and Allah has prescribed for his Prophet ﷺ the ways of guidance.I have seen the time when no one stayed back from them except a hypocrite whose hypocrisy was well known. I have seen the time when a man would be supported between two others until he was made to stand in the row.There is not one among you who does not have a place of prayer in his house. But if you were to pray in your houses and abandon your mosques, you would be abandoning the practice of your Prophet ﷺ, and if you abandoned the practice of your Prophet ﷺ, you would fall into disbelief.

Abu Dawud 550

Sahih

حدثنا هارون بن عباد الأزدي حدثنا وكيع عن المسعودي عن علي بن الأقمر عن أبي الأحوص

عن عبد الله بن مسعود قال

حافظوا على هؤلاء الصلوات الخمس حيث ينادى بهن فإنهن من سنن الهدى وإن الله شرع لنبيه ﷺ سنن الهدى ولقد رأيتنا وما يتخلف عنها إلا منافق بين النفاق ولقد رأيتنا وإن الرجل ليهادى بين الرجلين حتى يقام في الصف وما منكم من أحد إلا وله مسجد في بيته ولو صليتم في بيوتكم وتركتم مساجدكم تركتم سنة نبيكم ﷺ ولو تركتم سنة نبيكم ﷺ لكفرتم

أبو داود 550صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Strictness regarding abandoning the congregational prayer
Numbering
Darussalam 550
Abu Dawud 550