Allah's Messenger (ﷺ) said, "The prayer in congregation is twenty seven times superior to the prayer offered by person alone."
Sahih al-Bukhari Book 10, Hadith 42