something I had heard from the Messenger of Allah ﷺ. He said, whenever the Messenger of Allah ﷺ finished the prayer, he would say, "There is no god but Allah alone, with no partner. To Him belongs the dominion, to Him belongs all praise, and He has power over all things. O Allah, none can withhold what You grant, and none can grant what You withhold, and the wealth of the wealthy cannot benefit them against You."
أخبرنا محمد بن منصور عن سفيان قال سمعته من عبدة بن أبي لبابة وسمعته من عبد الملك بن أعين كلاهما سمعه من وراد كاتب المغيرة بن شعبة قال كتب معاوية إلى
بشيء سمعته من رسول الله ﷺ فقال كان رسول الله ﷺ إذا قضى الصلاة قال لا إله إلا الله وحده لا شريك له له الملك وله الحمد وهو على كل شيء قدير اللهم لا مانع لما أعطيت ولا معطي لما منعت ولا ينفع ذا الجد منك الجد
Bukhari transmitted it in the Book of Adhan, Chapter on Remembrance After the Prayer, hadith no. 844, and Muslim in the Book of Mosques, 593:138, from the hadith of Sufyan bin Uyayna, with this wording, in the Chapter on the Recommendation of Remembrance After the Prayer and Description of Its Manner, in Kubra, hadith no. 1264.