Narrated Safwan bin Salim: The Prophet said "The one who looks after and works for a widow and for a poor person, is like a warrior fighting for Allah's Cause or like a person who fasts during the day and prays all the night." Narrated Abu Huraira that the Prophet said as above.
Hadith Referenceصحيح البخاري / كتاب الأدب / 6006
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة
Narrated Abu Huraira: Allah's Apostle said, "The one who looks after and works for a widow and for a poor person is like a warrior fighting for Allah's Cause." (The narrator Al-Qa'nabi is not sure whether he also said "Like the one who prays all the night without slackness and fasts continuously and never breaks his fast.")
Ismail bin Abi Uwais narrated to us, he said that Imam Malik narrated to me, from Thawr bin Zayd Al-Deeli, from Abu’l-Ghaith, the freed slave of Ibn Muti’, from Abu Huraira (may Allah be pleased with him), and from him, the Prophet (peace and blessings of Allah be upon him) said likewise.