Jami` at-Tirmidhi, Book 2, Hadith 67 (Tirmidhi 215)

Ibn Umar narrated that :

Allah's Messenger said: "Salat in congregation is twenty-seven degrees more virtuous than a man's Salat alone."