A woman should not set out on a journey extending beyond three nights but with a Mahram.

Sahih Muslim Book 15 Hadith 468

Sahih Muslim #827 g

The Book of Pilgrimage 15:468

Abu Sa'id Khudri (Allah be pleased with him) reported Allah's Apostle (ﷺ) as saying:

A woman should not set out on a journey extending beyond three nights but with a Mahram.

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

Grade: Sahih