I heard the Messenger of Allah ﷺ say, "There are no three people in a village or in the desert among whom the prayer is not established except that Satan has gained mastery over them. So hold fast to the congregation, for the wolf only devours the stray sheep."Zaidah said that Saaib explained, "By 'the congregation,' he meant praying in congregation."
حدثنا أحمد بن يونس حدثنا زائدة حدثنا السائب بن حبيش عن معدان بن أبي طلحة اليعمري
سمعت رسول الله ﷺ يقول ما من ثلاثة في قرية ولا بدو لا تقام فيهم الصلاة إلا قد استحوذ عليهم الشيطان فعليك بالجماعة فإنما يأكل الذئب القاصية قال زائدة قال السائب يعني بالجماعة الصلاة في الجماعة
[Its chain of transmission is sahih] Nasai narrated it in "The Imamah," chapter "Strictness Regarding the Abandonment of Congregational Prayer," Hadith: 848, from the hadith of Zaida, with this wording. Ibn Khuzayma graded it sahih, Hadith: 1486, as did Ibn Hibban, Hadith: 425, and Hakim, 1/246, and Dhahabi agreed with him.