Sahih al-Bukhari #3061
Fighting for the Cause of Allah (Jihaad) 56:267
Narrated Ibn `Abbas:
A man came to the Prophet (ﷺ) and said, "O Allah's Messenger (ﷺ)! I have enlisted in the army for such-andsuch Ghazwa, and my wife is leaving for Hajj." Allah's Messenger (ﷺ) said, "Go back and perform Hajj with your wife."