(30) باب فَضْلِ صَلاَةِ الْجَمَاعَةِ
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "The reward of the prayer offered by a person in congregation is twenty five times greater than that of the prayer offered in one's house or in the market (alone). And this is because if he performs ablution and does it perfectly and then proceeds to the mosque with the sole intention of praying, then for every step he takes towards the mosque, he is upgraded one degree in reward and his one sin is taken off (crossed out) from his accounts (of deeds). When he offers his prayer, the angels keep on asking Allah's Blessings and Allah's forgiveness for him as long as he is (staying) at his Musalla. They say, 'O Allah! Bestow Your blessings upon him, be Merciful and kind to him.' And one is regarded in prayer as long as one is waiting for the prayer."
Reference: Sahih al-Bukhari 647
In-book reference: Book 10, Hadith 44
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 11, Hadith 620