Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates: I heard the Messenger of Allah (peace and blessings be upon him) say: “Listen! No man should sit in seclusion with a woman except that there is a mahram relative with her, and no woman should travel except that there is a mahram relative with her.” A man said: O Messenger of Allah! My name has been written for such-and-such battle, while my wife is going for Hajj. So the Prophet (peace and blessings be upon him) said: “Go and perform Hajj with your wife.”
Hadith Referenceمسند اسحاق بن راهويه / كتاب المناسك / 349
Hadith Takhrij«بخاري ، كتاب الجهاد والسير ، باب من اكتتب فى جيش الخ ، رقم : 3006 . مسلم ، كتاب الحج ، باب سفر المراة مع محرم الخ ، رقم : 1341»
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both), the Prophet (peace and blessings be upon him) said: "No woman should travel unless she is accompanied by a mahram relative." In his narration, Amr narrated from Abu Ma'bad that a man said: O Messenger of Allah! My name has been registered for such-and-such battle, while my wife is going for Hajj. The Prophet (peace and blessings be upon him) said: "Go, perform Hajj with her."
Hadith Referenceمسند اسحاق بن راهويه / كتاب المناسك / 350