“A Bedouin came to the Prophet (ﷺ) and said: ‘I have enlisted for such and such a military campaign and my wife is going for Hajj.’ He said: ‘Go back with her.’”
Sunan Ibn Majah Book 25, Hadith 19