Jami` at-Tirmidhi, Book 22, Hadith 11 (Tirmidhi 1677)

Narrated Zaid bin Khalid Al-Juhani:

That the Messenger of Allah (ﷺ) said, "Whoever prepares a fighter in Allah's cause, or looks after the family of a fighter, then he has participated in a military expedition." This Hadith is Hasan Sahih.