Sunan an-Nasa'i
It was narrated from Ibn 'Umar that the Messenger of Allah (ﷺ) said: "Praying in congregation is twenty-seven times better than praying alone."
أَخْبَرَنَا قُتَيْبَةُ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " صَلاَةُ الْجَمَاعَةِ تَفْضُلُ عَلَى صَلاَةِ الْفَذِّ بِسَبْعٍ وَعِشْرِينَ دَرَجَةً " .
Grade: Sahih (Darussalam)
Reference