Sunan Abi Dawud Book 2, Hadith 158
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.
I heard the Messenger of Allah (ﷺ) say: If there are three men in a village or in the desert among whom prayer is not offered (in congregation), the devil has got the mastery over them. So observe (prayer) in congregation), for the wolf eats only the straggling animal. Sa'ib said: By the word Jama'ah he meant saying prayer in company or in congregation.
I thought about giving orders to some youths for gathering a bundle of firewood, then going off to some people who their prayers in their homes without any excuse, and burning down their houses over them.
I (Yazid b. Yazid) said: I asked Yazid b. al-Asamm: Abu ‘Awf did he mean Friday (prayer) or any other? He replied: may my ears become deaf if I have not heard Abu Hurairah narrating it from the Messenger of Allah (May peace be upon him); He did not mention Friday (prayer) or any other.