“Two ‘Eid came together at the time of the Messenger of Allah ﷺ, so he led the people in prayer, then he said: ‘Whoever wishes to come to Friday (prayer), let him come, and whoever wishes to stay behind, let him stay behind.’”
اجْتَمَعَ عِيدَانِ عَلَى عَهْدِ رَسُولِ اللَّهِ ﷺ فَصَلَّى بِالنَّاسِ ثُمَّ قَالَ مَنْ شَاءَ أَنْ يَأْتِيَ الْجُمُعَةَ فَلْيَأْتِهَا وَمَنْ شَاءَ أَنْ يَتَخَلَّفَ فَلْيَتَخَلَّفْ