The Prophet ﷺ said, "A woman must not travel except in the company of a male relative whom she cannot marry."A man came to the Prophet ﷺ and said, "I have enrolled in such-and-such military expedition, and my wife is setting out for Hajj."He replied, "Go back and perform Hajj with her."
حدثنا يحيى عن ابن جريج قال حدثني عمرو بن دينار عن أبي معبد
عن النبي ﷺ قال لا تسافر امرأة إلا ومعها ذو محرم وجاء النبي ﷺ رجل فقال إني اكتتبت في غزوة كذا وكذا وامرأتي حاجة قال فارجع فحج معها