كتاب الصلاة
4  
Prayer
(8a)
Chapter: Mosques and places of Prayer - Section 1
(7)
باب المساجد ومواضع الصلاة - الفصل الأول
Mishkat al-Masabih 702
He also reported God’s Messenger as saying, “A man's prayer in company is twenty-five times as valuable as his prayer in his house and his market, for when he performs ablution, doing it well, then goes out to the mosque, having no other reason than prayer for going out, he does not take a step without being raised a degree for it and having a sin remitted for it, and when he prays the angels continue to invoke blessings on him as long as he is in his place of prayer, saying, ‘God bless him; God show mercy to him.’ And each of you continues to be engaged in prayer as long as he is waiting for the prayer.” In a version he said, “When he enters the mosque prayer holds him fast.” And he added in the invocation of the angels, “O God, forgive him, O God, turn towards him, as long as he does not do any harm in it and as long as he does not do anything unseemly in it.” (Bukhari and Muslim.)
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةُ الرَّجُلِ فِي الْجَمَاعَةِ تُضَعَّفُ عَلَى صَلَاتِهِ فِي بَيْتِهِ وَفِي سُوقِهِ خَمْسًا وَعِشْرِينَ ضِعْفًا وَذَلِكَ أَنَّهُ إِذَا تَوَضَّأَ فَأَحْسَنَ الْوُضُوءَ ثُمَّ خَرَجَ إِلَى الْمَسْجِدِ لَا يُخْرِجُهُ إِلَّا الصَّلَاةُ لَمْ يَخْطُ خُطْوَةً إِلَّا رُفِعَتْ لَهُ بِهَا دَرَجَةٌ وَحُطَّ عَنْهُ بِهَا خَطِيئَةٌ فَإِذَا صَلَّى لَمْ تَزَلِ الْمَلَائِكَةُ تُصَلِّي عَلَيْهِ مَا دَامَ فِي مُصَلَّاهُ اللَّهُمَّ صَلِّ عَلَيْهِ الله ارْحَمْهُ وَلَا يَزَالُ أَحَدُكُمْ فِي صَلَاةٍ مَا انْتَظَرَ الصَّلَاةَ» . وَفِي رِوَايَةٍ: قَالَ: «إِذَا دَخَلَ الْمَسْجِدَ كَانَتِ الصَّلَاةُ تَحْبِسُهُ» . وَزَادَ فِي دُعَاءِ الْمَلَائِكَةِ: " اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ تُبْ عَلَيْهِ. مَا لَمْ يُؤْذِ فِيهِ مَا لَمْ يُحْدِثْ فِيهِ
  مُتَّفَقٌ عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 702
In-book reference : Book 4, Hadith 133