عَنِ ابْنِ مَسْعُودٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لِقَوْمٍ يَتَخَلَّفُونَ عَنِ الْجُمُعَةِ: «لَقَدْ هَمَمْتُ أَنْ آمُرَ رَجُلًا يُصَلِّي بِالنَّاسِ ثُمَّ أُحْرِقَ عَلَى رِجَالٍ يَتَخَلَّفُونَ عَنِ الْجُمُعَةِ بُيُوتهم» . رَوَاهُ مُسلم
Translation

Jabir reported God’s Messenger as saying, “Prayer in congregation on Friday is a duty laid on those who believe in God and the last day, except for an invalid, a traveller, a woman, a boy, an insane person, or a slave. If anyone neglects it through sport or trade, God will have nothing to do with him. God is the Independent and Praiseworthy One." Daraqutni transmitted it.