Sahih Muslim, Book 5, Hadith 305 (Muslim 1458)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

Prayer said in a congregation is twenty-five degrees more excellent than prayer said by a single person.