Mishkat al-Masabih 702
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةُ الرَّجُلِ فِي الْجَمَاعَةِ تُضَعَّفُ عَلَى صَلَاتِهِ فِي بَيْتِهِ وَفِي سُوقِهِ خَمْسًا وَعِشْرِينَ ضِعْفًا وَذَلِكَ أَنَّهُ إِذَا تَوَضَّأَ فَأَحْسَنَ الْوُضُوءَ ثُمَّ خَرَجَ إِلَى الْمَسْجِدِ لَا يُخْرِجُهُ إِلَّا الصَّلَاةُ لَمْ يَخْطُ خُطْوَةً إِلَّا رُفِعَتْ لَهُ بِهَا دَرَجَةٌ وَحُطَّ عَنْهُ بِهَا خَطِيئَةٌ فَإِذَا صَلَّى لَمْ تَزَلِ الْمَلَائِكَةُ تُصَلِّي عَلَيْهِ مَا دَامَ فِي مُصَلَّاهُ اللَّهُمَّ صَلِّ عَلَيْهِ الله ارْحَمْهُ وَلَا يَزَالُ أَحَدُكُمْ فِي صَلَاةٍ مَا انْتَظَرَ الصَّلَاةَ» . وَفِي رِوَايَةٍ: قَالَ: «إِذَا دَخَلَ الْمَسْجِدَ كَانَتِ الصَّلَاةُ تَحْبِسُهُ» . وَزَادَ فِي دُعَاءِ الْمَلَائِكَةِ: اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ تُبْ عَلَيْهِ. مَا لَمْ يُؤْذِ فِيهِ مَا لَمْ يُحْدِثْ فِيهِ
And from him, who said: The Messenger of Allah ﷺ said: "A man's prayer in congregation is multiplied over his prayer in his house and in his market twenty-five times. That is because when he performs wudu and does it well, then goes out to the mosque with nothing taking him out but the prayer, he does not take a step except that he is raised a degree by it and a sin is removed from him by it. When he prays, the angels continue to send blessings upon him as long as he is in his place of prayer: 'O Allah, bless him; O Allah, have mercy on him.' And one of you remains in prayer as long as he waits for the prayer." And in a narration he said: "When he enters the mosque, [it is as if he is in prayer as long as] the prayer is what keeps him." And he added in the supplication of the angels: "O Allah, forgive him; O Allah, accept his repentance," as long as he does not cause harm in it, as long as he does not break his wudu in it.