مشكوة المصابيح Mishkat al-Masabih كتاب الصلاة The Book of Prayer
(ثَوَابُ ٱلْجُلُوسِ فِي ٱلْمَسْجِدِ بَعْدَ صَلَاةٍ ٱنْتِظَارًا لِأُخْرَى)

(Reward for sitting in the mosque after one prayer waiting for another)

1 hadith
Hadith 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.
Hadith Reference Mishkat al-Masabih / The Book of Prayer / Hadith: 726
Hadith Grading زبیر علی زئی: حسن
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «حسن، رواه البغوي في شرح السنة (4/ 35. 37 ح 924 من حديث عبد الرحمٰن بن عائش المصري رضي الله عنه .) مصابيح السنة (290/1 ح 512) و رواه الترمذي (3234. 3235) و انظر الحديث السابق (725)»