A woman should not set out on three (days' journey) except when she has a Mahram with her.

Sahih Muslim Book 15 Hadith 462

Sahih Muslim #1338 a

The Book of Pilgrimage 15:462

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.

Chapter: A woman travelling with a Mahram for Hajj and other purposes

Grade: Sahih