The Messenger of Allah ﷺ said, "The prayer of one of you in congregation surpasses his prayer in the marketplace or at home by twenty-odd degrees. That is because when he performs ablution, doing it well, then heads to the mosque seeking nothing but the prayer, driven by nothing but the prayer, he does not take a single step without being raised a degree by it or having a sin removed from him because of it. The angels continue to pray for one of you as long as he remains in the place where he prayed, saying, 'Allah, send blessings upon him. Allah, have mercy on him,' so long as he does not break his ablution there and does not cause harm there. And one of you is considered to be in prayer for as long as the prayer keeps him waiting."
حدثنا قتيبة حدثنا جرير عن الأعمش عن أبي صالح
قال رسول الله ﷺ صلاة أحدكم في جماعة تزيد على صلاته في سوقه وبيته بضعا وعشرين درجة وذلك بأنه إذا توضأ فأحسن الوضوء ثم أتى المسجد لا يريد إلا الصلاة لا ينهزه إلا الصلاة لم يخط خطوة إلا رفع بها درجة أو حطت عنه بها خطيئة والملائكة تصلي على أحدكم ما دام في مصلاه الذي يصلي فيه اللهم صل عليه اللهم ارحمه ما لم يحدث فيه ما لم يؤذ فيه وقال أحدكم في صلاة ما كانت الصلاة تحبسه