Sunnah.com : Book 8, Hadith 35
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وعن ابن عباس رضي الله عنهما أنه سمع النبي صلى الله عليه وسلم يقول: لا يخلون رجل بامرأة إلا ومعها ذو محرم، ولا تسافر المرأة إلا مع ذي محرم" فقال له رجل: يا رسول الله إن امرأتي خرجت حاجّة، وإني اكتتبت في غزوة كذا وكذا؟ قال: "انطلق فحج مع امرأتك" ((متفق عليه))."
Ibn 'Abbas (May Allah be pleased with them) reported:
The Prophet (ﷺ) said, "No man must not be alone with a woman except in the presence of her (Mahram). No woman should travel except in company of a (Mahram)." A man said: "O Messenger of Allah! I have been enrolled for such and such expedition, and my wife left for Hajj." He (ﷺ) said to him, "Go and perform Hajj with your wife." [Al- Bukhari and Muslim].
Full reference and source
Sunnah.com : Book 8, Hadith 35 Arabic/English book : Book 8, Hadith 990
View source on Sunnah.com (opens in a new tab)