Imam Bukhari narrates: Abdullah bin Yusuf narrated to us, he said: Laith informed us, he said: Ibn al-Had narrated to me from Abdullah bin Khabbab from Abu Sa'id al-Khudri, may Allāh be pleased with him, he heard the Prophet ﷺ saying that
prayer in congregation is superior to prayer alone by twenty-five degrees.
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا اللَّيْثُ، حَدَّثَنِي ابْنُ الهَادِ، عَنْ عَبْدِ اللَّهِ بْنِ خَبَّابٍ، عَنْ أَبِي سَعِيدٍ الخُدْرِيِّ، أَنَّهُ سَمِعَ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «صَلاَةُ الجَمَاعَةِ تَفْضُلُ صَلاَةَ الفَذِّ بِخَمْسٍ وَعِشْرِينَ دَرَجَةً»
Reference: Sahih Al Bukhari 646