Anas bin Malik reported,

When the Messenger of Allah ﷺ arrived in Medina, the people had two days on which they would play and celebrate. He asked, "What are these two days?"They replied, "We used to celebrate on these days during the time of ignorance."The Messenger of Allah ﷺ said, "Allah has replaced them for you with something better, the day of Adha and the day of Fitr."

Azami 3159

Sahih

عن أنس بن مالك قال

قدم رسول الله ﷺ لمدينة، ولهم يومان يلعبون فيهما، فقال: ما هذان اليومان؟ قالوا: كنا نلعب فيهما في الجاهلية، فقال رسول الله ﷺ: إن الله قد أبدلكم بهما خيرا منهما، يوم الأضحى ويوم الفطر.

الأعظمي 3159صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Eid prayer
Section
Every people has a festival, and the festival of the Muslims is Eid al-Fitr and Eid al-Adha
Numbering
Jami al-Kamil 3159 (2nd edition)
Azami 3159