Mughira bin Shuba dictated to me, in a letter to Muawiya, that the Prophet ﷺ used to say after every obligatory prayer, "There is no god but Allah alone, with no partner. To Him belongs the dominion and to Him belongs all praise, and He is over all things capable. O Allah, none can withhold what You grant, and none can grant what You withhold, and no fortunate person's fortune avails him against You."
أملى علي المغيرة بن شعبة في كتاب إلى معاوية أن النبي ﷺ كان يقول في دبر كل صلاة مكتوبة: لا إله إلا الله وحده لا شريك له، له الملك وله الحمد وهو على كل شيء قدير، اللهم لا مانع لما أعطيت، ولا معطي لما منعت، ولا ينفع ذا الجد منك الجد.
Bukhari narrated it in the chapter on the adhan (844), and Muslim in the chapter on mosques (593), both through the route of Warrad, the freed slave of Mughira, with a similar wording. In a version recorded by Bukhari (6615), Muawiya wrote to Mughira, "Write to me what you heard the Prophet ﷺ say after the prayer." Warrad said, Mughira then dictated it to me, and he mentioned the hadith.Regarding the phrase, "and no possessor of fortune has any fortune that can benefit him against You," Nawawi said, the well-known reading, which is held by the majority, is with a fatha on the jeem, and its meaning is that the wealth and good fortune of a wealthy or fortunate person cannot benefit him against You. End of quote.And "dubur" here means "immediately after," as will come in the hadith of Ibn Zubayr.