Hadith 1311
´It was narrated from Ibn ‘Abbas that the Messenger of Allah (ﷺ) said:` “Two ‘Eid have come together on this day of yours. So whoever wants, that (the ‘Eid prayer) will suffice him, and he will not have to pray Friday, but we will pray Friday if Allah wills.” Another chain with similar wording.
Hadith 2108
´It was narrated from 'Adi bin Hatim that :` the Messenger of Allah (ﷺ), said: "Whoever swears an oath then sees that something else is better than it, let him do that which is better and offer expiation for what he swore about. "