From Sahih Bukhari (Hadith 2843):
Narrated Zaid bin Khalid:Allah's Messenger (ﷺ) said, "He who prepares a Ghazi going in Allah's Cause is given a reward equal to that of) a Ghazi; and he who looks after properly the dependents of a Ghazi going in Allah's Cause is (given a reward equal to that of) a Ghazi
Reference: Bukhari 2843