كتاب الصلاة
4  
Prayer
(8b)
Chapter: Mosques and places of Prayer - Section 2
(7)
باب المساجد ومواضع الصلاة - الفصل الثاني
Mishkat al-Masabih 726
Tirmidhi has something similar from ‘Abd ar-Rahman, and from Ibn ‘Abbas and Mu'adh b. Jabal, in which he had additions:
He asked, "Muhammad, do you know what the angels near My presence dispute about?" I replied, "Yes, about expiations, and they are remaining in the mosques after the prayers are over, walking on foot to the congregational prayers, and performing elaborate ablution in unpleasant circumstances (Cf. p. 151). Whoever does that will live and die righteously, and as far as his sin is concerned, he will be as he was on the day his mother gave birth to him." He said, "Muhammad, when you pray say, ‘O God, I ask Thee to enable me to do good deeds, abandon objectionable things, and love the poor, and when Thou intendest to test Thy servants, take me to Thyself without being led astray.'" He said, "People are raised in degree by saluting all and sundry, providing food, and praying at night when people are asleep." The wording of this tradition is as it occurs in al-Masabih, but I found it traced to ‘Abd ar-Rahman only in Sharh as-sunna.
وَعَنِ ابْنِ عَبَّاسٍ وَمُعَاذِ بْنِ جبل وَزَادَ فِيهِ: قَالَ: يَا مُحَمَّدُ {هَلْ تَدْرِي فِيمَ يَخْتَصِمُ الْمَلَأُ الْأَعْلَى؟ قُلْتُ: نَعَمْ فِي الْكَفَّارَاتِ. وَالْكَفَّارَاتُ: الْمُكْثُ فِي الْمَسَاجِدِ بَعْدَ الصَّلَوَاتِ وَالْمَشْيِ عَلَى الْأَقْدَامِ إِلَى الْجَمَاعَاتِ وَإِبْلَاغِ الْوَضُوءِ فِي الْمَكَارِهِ فَمَنْ فَعَلَ ذَلِكَ عَاشَ بِخَيْرٍ وَمَاتَ بِخَيْرٍ وَكَانَ مِنْ خَطِيئَتِهِ كَيَوْمَ وَلَدَتْهُ أُمُّهُ وَقَالَ: يَا مُحَمَّدُ} إِذَا صَلَّيْتَ فَقُلِ: اللَّهُمَّ إِنِّي أَسْأَلُكَ فِعْلَ الْخَيْرَاتِ وَتَرْكَ الْمُنْكَرَاتِ وَحُبَّ الْمَسَاكِينِ وَإِذَا أَرَدْتَ بِعِبَادِكَ فِتْنَةً فَاقْبِضْنِي إِلَيْكَ غَيْرَ مَفْتُونٍ. قَالَ: وَالدَّرَجَاتُ: إِفْشَاءُ السَّلَامِ وَإِطْعَامُ الطَّعَامِ وَالصَّلَاةُ بِاللَّيْلِ وَالنَّاسُ نِيَامٌ. وَلَفْظُ هَذَا الْحَدِيثِ كَمَا فِي الْمَصَابِيحِ لَمْ أَجِدْهُ عَنْ عَبْدِ الرَّحْمَن إِلَّا فِي شرح السّنة.
Reference : Mishkat al-Masabih 726
In-book reference : Book 4, Hadith 155