The Prophet ﷺ said: Two festivals ('Id and Friday) have synchronised on this day. If anyone does not want to offer the Friday prayer, the 'Id prayer is sufficient for him. But we shall offer the Friday prayer. This tradition has been narrated by 'Umar from Shu'bah. (Using translation from Abū Dāʾūd 1073)
عَنْ رَسُولِ اللَّهِ ﷺ قَالَ «قَدِ اجْتَمَعَ فِي يَوْمِكُمْ هَذَا عِيدَانِ فَمَنْ شَاءَ أَجْزَأَهُ مِنَ الْجُمُعَةِ وَإِنَّا مُجَمِّعُونَ»