حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ، حَدَّثَنَا شُعْبَةُ، عَنْ عَدِيِّ بْنِ ثَابِتٍ، قَالَ سَمِعْتُ عَبْدَ اللَّهِ بْنَ يَزِيدَ الأَنْصَارِيَّ، عَنْ أَبِي مَسْعُودٍ الأَنْصَارِيِّ، فَقُلْتُ عَنِ النَّبِيِّ فَقَالَ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ: إِذَا أَنْفَقَ الْمُسْلِمُ نَفَقَةً عَلَى أَهْلِهِ وَهْوَ يَحْتَسِبُهَا، كَانَتْ لَهُ صَدَقَةً.
‘Adi ibn Thabit related that he heard Hazrat ‘Abdullah ibn Yazid al-Ansari (ra) narrate this report from Hazrat Abu Mas‘ud al-Ansari (ra). When ‘Adi asked whether it was from the Prophet (sa), ‘Abdullah confirmed that it was. The Prophet (sa) said, “When a Muslim spends on his family, seeking Allah’s pleasure in doing so, it counts as charity for him.”
(Sahih al-Bukhari, Kitab an-nafaqat, Bab fadli n-nafaqati ‘ala l-ahl, Hadith 5351)