The Messenger of Allah ﷺ said, "There is no fasting on the day of Eid, a woman must not travel for three days except with a Muharram relative, and journeys should not be undertaken except to three mosques: the Sacred Mosque, the Mosque of Madinah, and the Aqsa Mosque."
حدثنا عثمان بن محمد وسمعته أنا من عثمان بن محمد بن أبي شيبة حدثنا جرير عن مغيرة عن إبراهيم عن سهم عن قزعة
قال رسول الله ﷺ لا صوم يوم عيد ولا تسافر امرأة ثلاثا إلا مع ذي محرم ولا تشد الرحال إلا إلى ثلاثة مساجد المسجد الحرام ومسجد المدينة والمسجد الأقصى