The Prophet ﷺ said, "When a Muslim spends something on his family intending to receive Allah's reward it is regarded as Sadaqa for him."
عَنِ النَّبِيِّ فَقَالَ عَنِ النَّبِيِّ ﷺ قَالَ إِذَا أَنْفَقَ الْمُسْلِمُ نَفَقَةً عَلَى أَهْلِهِ وَهْوَ يَحْتَسِبُهَا كَانَتْ لَهُ صَدَقَةً