Hadithcore
Al-Adab Al-Mufrad, 640
da’if· Al-Albani

Abu Sa'id al-Khudri reported that the Prophet, (ﷺ), said, "If any Muslim does not have anything to give as sadaqa, he should say in his supplication, 'O Allah, bless Muhammad, Your slave and Your Messenger and bless the believers, both men and women, and the Muslims, both men and women.' That will be sadaqa for him."

حَدَّثَنَا يَحْيَى بْنُ سُلَيْمَانَ قَالَ‏:‏ حَدَّثَنِي ابْنُ وَهْبٍ قَالَ‏:‏ أَخْبَرَنِي عَمْرُو بْنُ الْحَارِثِ، عَنْ دَرَّاجٍ، أَنَّ أَبَا الْهَيْثَمَ حَدَّثَهُ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ أَيُّمَا رَجُلٌ مُسْلِمٌ لَمْ يَكُنْ عِنْدَهُ صَدَقَةٌ، فَلْيَقُلْ فِي دُعَائِهِ‏:‏ اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ، عَبْدِكَ وَرَسُولِكَ، وَصَلِّ عَلَى الْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ، وَالْمُسْلِمِينَ وَالْمُسْلِمَاتِ، فَإِنَّهَا لَهُ زَكَاةٌ‏.‏

References2 variants
In-Book Reference
Book 31, Hadith 37
English Reference
Book 31, Hadith 640