Prayer in congregation is equivalent to twenty-five prayers (offered alone). If he prays…

Sunan Abu Dawud Book 2 Hadith 170

Sunan Abu Dawud #560

Prayer (Kitab Al-Salat) 2:170

Narrated AbuSa'id al-Khudri:

Prayer in congregation is equivalent to twenty-five prayers (offered alone). If he prays in a jungle, and performs its bowing and prostrations perfectly, it becomes equivalent to fifty prayers (in respect of reward).Abu Dawud said: 'Abd al-Walid b. Ziyad narrated in his version of this tradition: "Prayer said by a single person in a jungle is more excellent by multiplied degrees than prayer said in congregation."

Chapter: What Has Been Narrated Regarding The Rewards Of Walking To The Prayer