It wasnarrated that Ibn 'Umar said:
"Two 'Eid came together at thetime of the Messenger of Allah (ﷺ), so he led the people in prayer,then he said: 'Whoever wishes to come to Friday (prayer), let himcome, and whoever wishes to stay behind, let him stay behind.'" (FR)
English reference (FR): Vol. 1, Book 5, Hadith 1312 (FR)
Arabic reference (FR): Book 5, Hadith 1373 (FR)