It was narrated from that the Prophet (ﷺ) said:"Prayer in congregation is twenty-five levels better than a prayer offered on one's own."
أَخْبَرَنَا عُبَيْدُ اللَّهِ بْنُ سَعِيدٍ، قَالَ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَمَّارٍ، قَالَ حَدَّثَنِي الْقَاسِمُ بْنُ مُحَمَّدٍ، عَنْ عَائِشَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " صَلاَةُ الْجَمَاعَةِ تَزِيدُ عَلَى صَلاَةِ الْفَذِّ خَمْسًا وَعِشْرِينَ دَرَجَةً " .
Nesai
The Book of Leading the Prayer (Al-Imamah) • Hadith 839