The Prophet ﷺ used to consider the prayer offered in congregation superior to the prayer of a man alone by twenty-five prayers, each one equal to his own prayer.
حدثنيه بهز حدثنا همام أخبرنا قتادة عن مورق عن أبي الأحوص الجشمي
أن النبي ﷺ كان يفضل صلاة الجميع على صلاة الرجل وحده بخمس وعشرين صلاة كلها مثل صلاته