The Messenger of Allah (SWAS) as saying : A muslim woman must not make a journey of a night unless she is accompanied by a man who is within the prohibited degrees. (Using translation from Abū Dāʾūd 1723)
إِنَّ رَسُولَ اللهِ ﷺ قَالَ لَا يَحِلُّ لِامْرَأَةٍ مُسْلِمَةٍ تُسَافِرُ مَسِيرَةَ لَيْلَةٍ إِلَّا وَمَعَهَا رَجُلٌ ذُو مَحْرَمٍ مِنْهَا