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»
Explanation & Benefits
Hafiz Abdush Shakoor Tirmidhi
Benefits: From the aforementioned hadith, it is understood that it is not permissible for a woman to undertake a long journey without a mahram. In some narrations, it is mentioned as a journey of one day and one night; in others, two days; and in others, three days and three nights. The scholars have written that neither one, two, nor three days are to be considered, rather, what is to be considered is the distance of travel. That which is called a journey (safar) is not permissible for a woman to undertake alone. It is also understood that it is not permissible for a woman to perform Hajj with a non-mahram; rather, it is necessary for her mahram to accompany her. In the aforementioned hadith, a companion was removed from jihad and sent for Hajj, which shows that if a person has registered his name for jihad and then a legitimate (shar‘i) excuse arises, he may, with the permission of the leader (amir), have his name withdrawn from jihad. Because in jihad, another person could have taken his place, but with this woman, another man could not have gone.