It is narrated from Umar bin Abdul Aziz (may Allah have mercy on him) that during the time of the Prophet ﷺ, Friday and Eid coincided (on the same day. The Prophet ﷺ said to the people living in the elevated areas around Madinah: "If anyone wishes to stay at home from either of these two without any excuse, he is permitted."
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 500
Hadith Takhrijاسناده ضعیف ، لضعف شيخ الشافعي ولإرساله، أخرجه البيهقى فى المعرفة السنن والآثار (1955) عبدالرزاق (5729).
It is narrated from Abu Ubaid, the freed slave of Ibn Azhar, who says: I went to the Eid prayer ground with Uthman bin Affan (may Allah be pleased with him) to perform the Eid prayer. He led the prayer and then addressed the people, saying: "Today, two Eids have come together for you, and whoever among the inhabitants of the surrounding settlements of Madinah wishes to wait for Jumu'ah may do so, and whoever wishes to return may go; I have given permission."
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 501
Hadith Takhrijاخرجه البخارى، الأشربة ، باب ما يؤكل من لحوم الأضاحي وما يتزود منها (5572)، (5571) ومسلم، الصيام، باب تحريم صوم يومى العيدين (1137)۔
It is narrated from Abu Ubaid, the freed slave of Ibn Azhar, that I attended the Eid prayer with Ali (may Allah be pleased with him) while Uthman (may Allah be pleased with him) was under siege.
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 502
Hadith Takhrijاخرجه البخارى، الأشربة ، باب ما يؤكل من لحوم الأضاحي وما يتزود منها (5572)، (5571) ومسلم، الصيام، باب تحريم صوم يومى العيدين (1137)۔