Sahih Muslim, Book 5, Hadith 310 (Muslim 1463)

Ibn Umar reported Allah's Messenger (ﷺ) assaying:

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