صحيح مسلم
From Sahih Muslim (Hadith 3269):
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:It is not lawful for a woman to undertake three (days, ) journey except when there is a Mahram with her
Reference: Muslim 3269