عَنْ أَبِي مَسْعُودٍ الْأَنْصَارِيِّ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ إِنَّ الْمُسْلِمَ إِذَا أَنْفَقَ عَلَى أَهْلِهِ نَفَقَةً وَهُوَ يَحْتَسِبُهَا كَانَتْ لَهُ صَدَقَةً
It is narrated from Sayyiduna Abu Mas’ud Ansari (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him and his family) said: When a Muslim spends on his wife with the intention of reward, it becomes charity for him.