Sahih Muslim, Book 5, Hadith 311 (Muslim 1464)

Ibn 'Umar reported Allah's Apostle (ﷺ) as saying:

The prayer of a person in congregation is twenty-seven times in excess to the prayer said alone.