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