The Prophet ﷺ said, "The prayer in congregation is twenty five times superior to the prayer offered by person alone." (Using translation from Bukhārī 646)
أَنَّهُ سَمِعَ رَسُولَ اللهِ ﷺ يَقُولُ صَلَاةُ الْجَمَاعَةِ تَفْضُلُ صَلَاةَ الْفَذِّ بِخَمْسٍ وَعِشْرِينَ دَرَجَةً