Sunan an-Nasa'i, Book 25, Hadith 96 (Nasa'i 3186)

It was narrated from Zaid bin Khalid that the Messenger of Allah (ﷺ) said:

"Whoever equips a warrior in the cause of Allah has fought, and whoever looks after his family in his absence has fought."