Ibn Umar (Allah be pleased with them) reported Allah's Messenger (ﷺ) as saying
A woman should not set out on three (days' journey) except when she has a Mahram with her.