Abdullah bin Masud reported,

The Prophet ﷺ said about people who failed to attend the Friday prayer, "I was about to order someone to lead the people in prayer, then burn down the houses of Some men who fail to attend the Friday prayer."

Muslim 1485

Sahih

و حدثنا أحمد بن عبد الله بن يونس حدثنا زهير حدثنا أبو إسحق عن أبي الأحوص سمعه منه

عن عبد الله

أن النبي ﷺ قال لقوم يتخلفون عن الجمعة لقد هممت أن آمر رجلا يصلي بالناس ثم أحرق على رجال يتخلفون عن الجمعة بيوتهم

مسلم 1485صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Virtue of congregational prayer and emphasis on the severity of missing it
Numbering
Darussalam 1485
Muslim 1485