The Messenger of Allah ﷺ said, "A man's prayer in congregation is superior to his prayer alone by twenty-seven degrees."
حدثنا عبد الرحمن بن عمر رستة حدثنا يحيى بن سعيد حدثنا عبيد الله بن عمر عن نافع
قال رسول الله ﷺ صلاة الرجل في جماعة تفضل على صلاة الرجل وحده بسبع وعشرين درجة
Muslim narrated it in Chapter, "The virtue of praying in congregation, etc.," in the Book of Mosques, hadith 650, from the hadith of Yahya Qattan, through this same chain.