Sahih Muslim, Book 15, Hadith 464 (Muslim 3229)

'Abdullah b. Umar (Allah -be pleased with them) reported Allah's Apostle (ﷺ) as saying:

It is not lawful for a woman who believes in Allah and the Hereafter to travel for more than three nights journey except when there is a Mahram with her.