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.'" (AR)
English reference (AR): Vol. 1, Book 5, Hadith 1312 (AR)
Arabic reference (AR): Book 5, Hadith 1373 (AR)