Bismillahir rahmanir rahim.
Ibn Abbas Radi Allahu Anhu se rivayat hai ki Rasoollallah Sallallahu Alaihi Wasallam ke zamaney mein dono Eidein ek hi din aa gayee (ek to eid aur dusra jumaa) to aapney eid ki namaz ada karkey farmaya jo jumaa ki namaz ke liye aana chahey aa jaye aur jo na aana chahe na aaye.
[Sunan ibn Majah, Vol 1, 1312-Hasan]
It was narrated that Ibn Umar said: Two Eid came together at the time of the Messenger of Allah peace be upon him , 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.’”
[Sunan Ibn Majah , Vol. 1, Book 5, Hadith 1312 – Hasan]