Abu Hurairah (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "By Him in Whose Hand my life is, I sometimes thought of giving orders for firewood to be collected, then for proclaiming the Adhan for Salat. Then I would appoint an Imam to lead Salat, and then go to the houses of those who do not come to perform Salat in congregation, and set fire to their houses on them."[Al-Bukhari and Muslim].
App reference: Book 9, Hadith 78
Arabic/English book reference: Book 9, Hadith 1068