Sunan Abi Dawud, Hadith 550

Abd Allah b. Mas’ud said: Persevere in observing these five times of prayer where the announcement for them is made, because they are from the paths of right guidance. And Allah, the Might, the Majestic, has laid down for his prophet the paths of right guidance. I have seen the time when no one stayed away from prayer except a hypocrite whose hypocrite was well known. I witnessed the time when a man would be brought swaying between two men till he was set up in the row (of the prayer). Every one of us has a mosque of his in his house. If you were to pray in your houses and stay from your mosques. You would abandon the Sunnah (practice) of your prophet, and if you were Abandon the Sunnah (Practice) of your Prophet, you would become an unbeliever.

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

sunnah.com