Suhayb ibn Sinan reported: The Messenger of Allah, peace and blessings be upon him, said, “Prayer in congregation is like performing twenty-five prayers alone. Voluntary prayer where no one can see him is like performing twenty-five prayers under the eyes of people.”
Source: al-Targhīb fī Faḍā’il al-A’māl li-Ibn Shāhīn 67
Grade: Sahih (authentic) according to Al-Albani
عَنْ صُهَيْبِ بْنِ سِنَانٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ صَلَاةُ الْجَمَاعَةِ مِثْلُ خَمْسٍ وَعِشْرِينَ صَلَاةً فِي الْوَحْدَةِ وَالصَّلَاةُ تَطَوُّعًا حَيْثُ لَا يَرَاهُ أَحَدٌ مِثْلُ خَمْسٍ وَعِشْرِينَ صَلَاةً عَلَى أَعْيُنِ النَّاسِ
67 الترغيب في فضائل الأعمال باب فضل صلاة الجماعة والخطا إليها
3821 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع