صحيح مسلم
From Sahih Muslim (Hadith 1476):
Abu Huraira reported:The Messenger of Allah (way peace be upon him) said: Prayer along with the Imam is twenty-five times more excellent than prayer said by a single person
Reference: Muslim 1476