Mishkat al-Masabih
Ibn Mas'ud reported the Prophet (ﷺ) as saying to people who stayed away from the Friday prayer, “I have thought about commanding a man to lead the people in prayer, then burning their houses over men who stayed away from the Friday prayer." Muslim transmitted it.
عَنِ ابْنِ مَسْعُودٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لِقَوْمٍ يَتَخَلَّفُونَ عَنِ الْجُمُعَةِ: «لَقَدْ هَمَمْتُ أَنْ آمُرَ رَجُلًا يُصَلِّي بِالنَّاسِ ثُمَّ أُحْرِقَ عَلَى رِجَالٍ يَتَخَلَّفُونَ عَنِ الْجُمُعَةِ بُيُوتهم» . رَوَاهُ مُسلم
Reference