Sunan Ibn Majah
1311
Sahih+3

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

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi