It wasnarrated from Abu Sa'eed that the Messenger of Allah (ﷺ)said:
"No woman should travel the distance of three days or more,unlessshe is with her father, brother, son, husband or a Mahram." (ID)
English reference (ID): Vol. 4, Book 25, Hadith 2898 (ID)
Arabic reference (ID): Book 25, Hadith 3010 (ID)