A man's prayer in congregation exceeds his prayer in his house and his prayer in his marketplace by twenty-five degrees. That is because when one of you performs ablution and does it thoroughly, then comes to the mosque with no other intention than the prayer and nothing drives him forth except the prayer, he does not take a step except that he is raised a degree by it, and a sin is absolved from him by it, until he enters the mosque. When he enters the mosque, he is in a state of prayer as long as the prayer detains him, and the angels invoke blessings upon any of you as long as he remains in his place of assembly where he prayed, saying: "O Allah, forgive him; O Allah, have mercy on him; O Allah, turn toward him," as long as he does not harm anyone therein or invalidate his ablution.
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم "صَلاَةُ الرَّجُلِ فِي جَمَاعَةٍ تَزِيدُ عَلَى صَلاَتِهِ فِي بَيْتِهِ وَصَلاَتِهِ فِي سُوقِهِ خَمْسًا وَعِشْرِينَ دَرَجَةً وَذَلِكَ بِأَنَّ أَحَدَكُمْ إِذَا تَوَضَّأَ فَأَحْسَنَ الْوُضُوءَ وَأَتَى الْمَسْجِدَ لاَ يُرِيدُ إِلاَّ الصَّلاَةَ وَلاَ يَنْهَزُهُ إِلاَّ الصَّلاَةُ لَمْ يَخْطُ خَطْوَةً إِلاَّ رُفِعَ لَهُ بِهَا دَرَجَةٌ وَحُطَّ عَنْهُ بِهَا خَطِيئَةٌ حَتَّى يَدْخُلَ الْمَسْجِدَ فَإِذَا دَخَلَ الْمَسْجِدَ كَانَ فِي صَلاَةٍ مَا كَانَتِ الصَّلاَةُ هِيَ تَحْبِسُهُ وَالْمَلاَئِكَةُ يُصَلُّونَ عَلَى أَحَدِكُمْ مَا دَامَ فِي مَجْلِسِهِ الَّذِي صَلَّى فِيهِ يَقُولُونَ اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ ارْحَمْهُ اللَّهُمَّ تُبْ عَلَيْهِ مَا لَمْ يُؤْذِ فِيهِ أَوْ يُحْدِثْ فِيهِ "
Translation
Abu Hurairah reported the Messenger of Allah (ﷺ) as saying