"Whoever would like to meet Allah tomorrow (i.e. on the Day of Judgment) as a Muslim, let him preserve these five (daily) prayer when the call for them is given, for they are part of the ways of guidance, and Allah prescribed the ways of guidance to your Prophet. By Allah, if each of you prays in his house, you will have abandoned the Sunnah of your Prophet, and if you abandon the Sunnah of your Prophet you will go astray. I remember when no one stayed behind from the prayer except a hypocrite who was known for his hypocrisy. I have a man coming supported by two others, until he joined the row (of worshippers). There is no man who purifies himself and does it well, and comes to the mosque and prays there, but for every step that he takes, Allah raises him in status one degree thereby, and takes away one of his sins." (Using translation from Ibn Mājah 777)
أَنْ يَلْقَى اللهَ غَدًا مُسْلِمًا فَلْيُحَافِظْ عَلَى هَذِهِ الصَّلَوَاتِ الْمَكْتُوبَاتِ حَيْثُ يُنَادَى بِهِنَّ فَإِنَّ اللهَ شَرَعَ لِنَبِيِّكُمْ سُنَنَ الْهُدَى وَإِنَّهُنَّ مِنْ سُنَنِ الْهُدَى وَلَعَمْرِي لَوْ صَلَّيْتُمْ فِي بُيُوتِكُمْ كَمَا يُصَلِّي هَذَا الْمُتَخَلِّفُ فِي بَيْتِهِ لَتَرَكْتُمْ سُنَّةَ نَبِيِّكُمْ ﷺ وَلَوْ تَرَكْتُمْ سُنَّةَ نَبِيِّكُمْ ﷺ لَضَلَلْتُمْ وَلَقَدْ أَتَى عَلَيْنَا زَمَانٌ وَمَا يَتَخَلَّفُ عَنْهُنَّ إِلَّا مُنَافِقٌ مَعْلُومٌ نِفَاقُهُ وَلَقَدْ رَأَيْتُ الرَّجُلَ يُهَادَى بَيْنَ الرَّجُلَيْنِ حَتَّى يُقَامَ فِي الصَّفِّ وَمَا مِنْ رَجُلٍ يَتَطَهَّرُ فَيُحْسِنُ طُهُورَهُ ثُمَّ يَعْمِدُ إِلَى مَسْجِدٍ مِنَ الْمَسَاجِدِ يُصَلِّي فِيهِ فَيَخْطُو خُطْوَةً إِلَّا كَتَبَ اللهُ لَهُ بِهَا حَسَنَةً وَرَفَعَهُ بِهَا دَرَجَةً وَحَطَّ عَنْهُ بِهَا خَطِيئَةً حَتَّى إِنْ كُنَّا لَنُقَارِبُ بَيْنَ الْخُطَا»