Anas bin Malik reported,

The people of the pre-Islamic era had two days each year on which they would celebrate and play. When the Prophet ﷺ came to Medina, he said, "You had two days on which you used to play, but Allah has replaced them for you with two better days, the day of Fitr and the day of Adha."

Nasai 1557

Sahih

أخبرنا علي بن حجر قال أنبأنا إسمعيل قال حدثنا حميد

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

كان لأهل الجاهلية يومان في كل سنة يلعبون فيهما فلما قدم النبي ﷺ المدينة قال كان لكم يومان تلعبون فيهما وقد أبدلكم الله بهما خيرا منهما يوم الفطر ويوم الأضحى

النسائي 1557صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Eid prayer
Chapter
Eid prayer
Numbering
Darussalam 1557
Nasai 1557