Abu Hurairah reported the Messenger of Allah ﷺ as saying; I thought to give orders for arranging prayer in congregation, and then to have the Iqamah called for it, then to order a man to lead the people in prayer, then to go off in company of the people who have bundles of firewood to those people who are not present at the prayer and then to burn down their houses with fire.
قَالَ رَسُولُ اللَّهِ ﷺ لَقَدْ هَمَمْتُ أَنْ آمُرَ بِالصَّلاَةِ فَتُقَامَ ثُمَّ آمُرَ رَجُلاً فَيُصَلِّيَ بِالنَّاسِ ثُمَّ أَنْطَلِقَ مَعِي بِرِجَالٍ مَعَهُمْ حُزَمٌ مِنْ حَطَبٍ إِلَى قَوْمٍ لاَ يَشْهَدُونَ الصَّلاَةَ فَأُحَرِّقَ عَلَيْهِمْ بُيُوتَهُمْ بِالنَّارِ