Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:218Mujāhid And Suʾil Ibn ʿAbbās

"Ibn Abbas was asked about a man who fasted during the day and stood (in prayers) during the night, but he did not attend the Friday prayer nor congregational prayer. He replied: 'He is in the Fire.'"  

الترمذي:٢١٨قَالَ مُجَاهِدٌ وَسُئِلَ ابْنُ عَبَّاسٍ

عَنْ رَجُلٍ يَصُومُ النَّهَارَ وَيَقُومُ اللَّيْلَ لاَ يَشْهَدُ جُمُعَةً وَلاَ جَمَاعَةً قَالَ هُوَ فِي النَّارِ قَالَ حَدَّثَنَا بِذَلِكَ هَنَّادٌ حَدَّثَنَا الْمُحَارِبِيُّ عَنْ لَيْثٍ عَنْ مُجَاهِدٍ قَالَ وَمَعْنَى الْحَدِيثِ أَنْ لاَ يَشْهَدَ الْجَمَاعَةَ وَالْجُمُعَةَ رَغْبَةً عَنْهَا وَاسْتِخْفَافًا بِحَقِّهَا وَتَهَاوُنًا بِهَا