Riyad as-SalihinChapter 8Hadith 389
Full Sharh — Riyad as-Salihin 389
وعن أبي هريرة رضي الله عنه أن رسول الله صلى الله عليه وسلم قال: "والذي نفسي بيده، لقد هممت أن آمر بحطب فيحتطب، ثم آمر بالصلاة فيؤذن لها، ثم آمر رجلا فيؤم الناس، ثم أخالف إلى رجال فأحرق عليهم بيوتهم" ((متفق عليه))
English Translation
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.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
389