The Prophet (صلی اللہ علیہ وسلم) said: “Any it is now allowed for a woman who has belief in Allah and His messenger that she travels to a destination of more than 78 kms alone. Yes, she can travel this distance or more with a mehram (immediate relatives like father, son, husband, nephew). Some traditions refer to a distance of only three miles while some absolutely prohibit from traveling. All these traditions differ as per the worsening conditions of different ages and times. As much the fitna (mischief, evil) will prevail as much the cautiousness will be required.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband