From Sahih Bukhari (Hadith 2420):
Narrated Abu Huraira:The Prophet (ﷺ) said, "No doubt, I intended to order somebody to pronounce the Iqama of the (compulsory congregational) prayer and then I would go to the houses of those who do not attend the prayer and burn their houses over them
Reference: Bukhari 2420