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.
Jami` at-Tirmidhi Book 22, Hadith 11