The Messenger of Allah ﷺ said, "A man's prayer in congregation is twenty-five degrees superior to his prayer at home."
حدثنا أبو كريب حدثنا أبو معاوية عن هلال بن ميمون عن عطاء بن يزيد
قال رسول الله ﷺ صلاة الرجل في جماعة تزيد على صلاته في بيته خمسا وعشرين درجة
[Sahih] Narrated by Abu Dawud, in the Book of Prayer, chapter on the merit of walking to the prayer, hadith no. 560, from the hadith of Abu Muawiya with this wording, and Ibn Hibban, Hakim, and Dhahabi graded it sahih.