Sunan Ibn Majah · Hadith 786
The Book On The Mosques And The Congregations - كتاب المساجد والجماعات
حدثنا أبو بكر بن أبي شيبة، حدثنا أبو معاوية، عن الأعمش، عن أبي صالح، عن أبي هريرة، قال قال رسول الله صلى الله عليه وسلم " صلاة الرجل في جماعة تزيد على صلاته في بيته وصلاته في سوقه بضعا وعشرين درجة " .
It was narrated that Abu Hurairah said: "The Messenger of Allah said: 'A man's prayer in congregation is twenty-some levels higher than his prayer in his house or in the marketplace.'"
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).