The Prophet (ﷺ) said, "The prayer in congregation is twenty five times superior to the prayer offered by person alone."
Sahih al-Bukhari Book 10, Hadith 43