When the Messenger of Allah ﷺ came to Medina, the people had two days on which they engaged in games. He asked: What are these two days (what is the significance)? They said: We used to engage ourselves on them in the pre-Islamic period. The Messenger of Allah ﷺ said: Allah has substituted for them something better than them, the day of sacrifice and the day of the breaking of the fast. (Using translation from Abū Dāʾūd 1134)
قَدِمَ رَسُولُ اللَّهِ ﷺ الْمَدِينَةَ وَلَهُمْ يَوْمَانِ يَلْعَبُونَ فِيهِمَا فَقَالَ «مَا هَذَانِ الْيَوْمَانِ؟» قَالُوا يَوْمَانِ كُنَّا نَلْعَبُ فِيهِمَا فِي الْجَاهِلِيَّةِ فَقَالَ رَسُولُ اللَّهِ ﷺ «إِنَّ اللَّهَ قَدْ أَبْدَلَكُمْ بِهِمَا خَيْرًا مِنْهُمَا يَوْمَ الْأَضْحَى وَيَوْمَ الْفِطْرِ»