Translation:
Prophet Muhammad (PBUH) said, "When a Muslim spends on his family seeking the reward from Allah, it is counted as charity (ṣadaqah) for him."
Context:
This authentic (sahih) hadith is reported by Abu Mas'ud al-Ansari (RA), and it is regarded as Muttafaq ʿAlayh (Agreed Upon), which means it is reported in both Sahih al-Bukhari, Hadith 5351, and Sahih Muslim, Hadith 1002. Muttafaq ʿAlayh is the highest level of hadith authentication. It is also found in Musnad Ahmad, Vol. 6, Hadith 17179 (Dawat-e-Islami).
In this hadith, the Prophet (PBUH) informed believers that when they work hard to earn and spend it on their family with a sincere intention of making Allah pleased, Allah takes it as an act of ṣadaqah (charity). The hadith encourages honest earning and spending on one's family members. This is a reminder that duties performed with sincerity will be rewarded by Allah.
Download