Sahih al-Bukhari 1995
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ تُسَافِرِ الْمَرْأَةُ مَسِيرَةَ يَوْمَيْنِ إِلاَّ وَمَعَهَا زَوْجُهَا أَوْ ذُو مَحْرَمٍ، وَلاَ صَوْمَ فِي يَوْمَيْنِ الْفِطْرِ وَالأَضْحَى، وَلاَ صَلاَةَ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ، وَلاَ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ، وَلاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ، وَمَسْجِدِ الأَقْصَى، وَمَسْجِدِي هَذَا "
Narrated Abu Sa`id Al-Khudri:
(who fought in twelve Ghazawat in the company of the Prophet). I heard four things from the Prophet (ﷺ) and they won my admiration. He said; -1. "No lady should travel on a journey of two days except with her husband or a Dhi-Mahram; -2. "No fasting is permissible on the two days of Id-ul-Fitr and `Id-ul-Adha; -3. "No prayer (may be offered) after the morning compulsory prayer until the sun rises; and no prayer after the `Asr prayer till the sun sets; -4. "One should travel only for visiting three Masjid (Mosques): Masjid-al-Haram (Mecca), Masjid-al- Aqsa (Jerusalem), and this (my) Mosque (at Medina).
Full reference and source
Sahih al-Bukhari 1995 In-book : Book 30, Hadith 101 USC-MSA web (English) : Vol. 3, Book 31, Hadith 215 (deprecated)
View source on Sunnah.com (opens in a new tab)