Mishkat al-Masabih 726
وَعَنِ ابْنِ عَبَّاسٍ وَمُعَاذِ بْنِ جبل وَزَادَ فِيهِ: قَالَ: يَا مُحَمَّدُ {هَلْ تَدْرِي فِيمَ يَخْتَصِمُ الْمَلَأُ الْأَعْلَى؟ قُلْتُ: نَعَمْ فِي الْكَفَّارَاتِ. وَالْكَفَّارَاتُ: الْمُكْثُ فِي الْمَسَاجِدِ بَعْدَ الصَّلَوَاتِ وَالْمَشْيِ عَلَى الْأَقْدَامِ إِلَى الْجَمَاعَاتِ وَإِبْلَاغِ الْوَضُوءِ فِي الْمَكَارِهِ فَمَنْ فَعَلَ ذَلِكَ عَاشَ بِخَيْرٍ وَمَاتَ بِخَيْرٍ وَكَانَ مِنْ خَطِيئَتِهِ كَيَوْمَ وَلَدَتْهُ أُمُّهُ وَقَالَ: يَا مُحَمَّدُ} إِذَا صَلَّيْتَ فَقُلِ: اللَّهُمَّ إِنِّي أَسْأَلُكَ فِعْلَ الْخَيْرَاتِ وَتَرْكَ الْمُنْكَرَاتِ وَحُبَّ الْمَسَاكِينِ وَإِذَا أَرَدْتَ بِعِبَادِكَ فِتْنَةً فَاقْبِضْنِي إِلَيْكَ غَيْرَ مَفْتُونٍ. قَالَ: وَالدَّرَجَاتُ: إِفْشَاءُ السَّلَامِ وَإِطْعَامُ الطَّعَامِ وَالصَّلَاةُ بِاللَّيْلِ وَالنَّاسُ نِيَامٌ. وَلَفْظُ هَذَا الْحَدِيثِ كَمَا فِي الْمَصَابِيحِ لَمْ أَجِدْهُ عَنْ عَبْدِ الرَّحْمَن إِلَّا فِي شرح السّنة.
And from Ibn ʿAbbas and Muʿadh ibn Jabal, and he added in it: He said: "O Muhammad, do you know about what the highest assembly disputes?" I said: "Yes, about the expiations. And the expiations are: staying in the mosques after the prayers, walking on foot to the congregations, and completing the wudu in hardships. Whoever does that lives in good and dies in good, and is [free] of his sin as on the day his mother bore him." And He said: "O Muhammad, when you pray, say: 'O Allah, I ask You for doing good deeds, leaving evil deeds and love of the poor, and when You intend a trial for Your servants, take me to You without being tried.'" He said: "And the degrees are: spreading the greeting of salam, feeding food, and praying at night while people are asleep." The wording of this hadith as it is in al-Masabih I have not found from ʿAbd ar-Rahman except in Sharh as-Sunnah.