Abu Sa’id al-Khudri reported: The Messenger of Allah, peace and blessings be upon him, said, “When a man earns wealth from what is lawful and he feeds himself, or clothes another among the creation of Allah, it will be regarded as charity for him. When a Muslim man is without means to give in charity, he should say: O Allah, send blessings upon Muhammad, Your servant and Messenger, and send blessings upon the believing men and women and the Muslim men and women. If he says this, it will be regarded as charity for him.”
Source: Shu’ab al-Imān 1176
Grade: Sahih (authentic) according to Al-Suyuti
عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ أَيُّمَا رَجُلٍ كَسَبَ مَالا مِنْ حَلالٍ فَأَطْعَمَ نَفْسَهُ أَوْ كَسَاهَا فَمَنْ دُونَهُ مِنْ خَلْقِ اللَّهِ فَإِنَّهَا لَهُ زَكَاةٌ وَأَيُّمَا رَجُلٍ مُسْلِمٍ لَمْ يَكُنْ لَهُ عِنْدَهُ صَدَقَةٌ فَلْيَقُلْ فِي دُعَائِهِ اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ عَبْدِكَ وَرَسُولِكَ وَصَلِّ عَلَى الْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ وَالْمُسْلِمِينَ وَالْمُسْلِمَاتِ فَإِنَّهَا لَهُ زَكَاةٌ
1176 شعب الإيمان للبيهقي التوكل بالله عز وجل والتسليم لأمره تعالى في كل شيء
2935 المحدث السيوطي خلاصة حكم المحدث صحيح في الجامع الصغير