Hadithcore
Mishkat al-Masabih, 962

Al-Mughira b. Shu'ba stated that the Prophet (ﷺ) used to say after every prescribed prayer, “There is no god but God alone, who has no partner. To Him belongs the kingdom, to Him praise is due, and He is omnipotent. O God, no one can withhold what You givest, or give what You withholdest, and riches cannot avail a wealthy person with You.” (Bukhari and Muslim.)

وَعَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: كَانَ يَقُولُ فِي دُبُرِ كُلِّ صَلَاةٍ مَكْتُوبَةٍ: «لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ اللَّهُمَّ لَا مَانِعَ لِمَا أَعْطَيْتَ وَلَا مُعْطِيَ لِمَا مَنَعْتَ وَلَا يَنْفَعُ ذَا الْجَدِّ مِنْك الْجد»

References1 variant
In-Book Reference
Book 4, Hadith 385