It is not lawful for a woman to undertake three (days, ) journey except when there is a Mahram with her.

Sahih Muslim Book 15, Hadith 473