Abu Saeed Khudri reported,

He had taken part in twelve military expeditions with the Prophet ﷺ. He said, "I heard four things from the Prophet ﷺ that delighted me. He said, 'A woman must not travel a distance of two days unless accompanied by her husband or a Muharram relative. There is no fasting on two days, the day of Fitr and the day of Adha. There is no prayer after the dawn prayer until the sun rises, nor after the afternoon prayer until it sets. Journeys should not be undertaken except to three mosques, the Sacred Mosque, the Aqsa Mosque, and this mosque of mine.'"

Bukhari 1995

Sahih

حدثنا حجاج بن منهال حدثنا شعبة حدثنا عبد الملك بن عمير قال سمعت قزعة قال سمعت

أبا سعيد الخدري رضي الله عنه

وكان غزا مع النبي ﷺ ثنتي عشرة غزوة قال سمعت أربعا من النبي ﷺ فأعجبنني قال لا تسافر المرأة مسيرة يومين إلا ومعها زوجها أو ذو محرم ولا صوم في يومين الفطر والأضحى ولا صلاة بعد الصبح حتى تطلع الشمس ولا بعد العصر حتى تغرب ولا تشد الرحال إلا إلى ثلاثة مساجد مسجد الحرام ومسجد الأقصى ومسجدي هذا

البخاري 1995صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Fasting
Chapter
Fasting on the day of sacrifice
Numbering
Darussalam 1995
Bukhari 1995