حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ، ثنا أَبُو نُعَيْمٍ، ثنا صَدَقَةُ بْنُ مُوسَى، عَنْ فَرْقَدٍ السَّبَخِيِّ، ثنا إِبْرَاهِيمُ النَّخَعِيُّ، عَنْ عَلْقَمَةَ، عَنِ ابْنِ مَسْعُودٍ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «كُلُّ مَعْرُوفٍ صَدَقَةٌ، غَنِيًّا كَانَ أَوْ فَقِيرًا»
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Every good deed is charity, whether the one who does good is rich or poor."