From Sahih Muslim (Hadith 1475): Abu Huraira reported Allah's Messenger (ﷺ) as saying:Prayer said in a congregation is equivalent to twenty-five (prayers) as compared with the prayer said by a single person