The Messenger of Allah (way peace be upon him) said: Prayer along with the Imam is…

Sahih Muslim Book 5 Hadith 312

Sahih Muslim #649 e

The Book of Mosques and Places of Prayer 5:312

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.

Chapter: The virtue of prayer in congregation, and clarifying the stern warning against staying away from it, and that it is fard kifayah

Grade: Sahih