Mishkat al-Masabih 1067
وَعَنْ أَبِي الدَّرْدَاءِ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا مِنْ ثَلَاثَةٍ فِي قَرْيَةٍ وَلَا بَدْوٍ لَا تُقَامُ فِيهِمُ الصَّلَاةُ إِلَّا قَدِ اسْتَحْوَذَ عَلَيْهِمُ الشَّيْطَانُ فَعَلَيْكَ بِالْجَمَاعَةِ فَإِنَّمَا يَأْكُلُ الذِّئْبُ الْقَاصِيَةَ» . رَوَاهُ أَحْمَدُ وَأَبُو دَاوُد وَالنَّسَائِيّ
From Abu ad-Dardaʾ, who said: The Messenger of Allah ﷺ said: "There are no three in a village or in the desert among whom the prayer is not established, except that Shaytan has gained mastery over them. So keep to the congregation, for the wolf eats only the straying [sheep]." Reported by Ahmad, Abu Dawud and an-Nasaʾi.