[Machine] Anas ibn Malik said, "The Prophet ﷺ arrived in Madinah and the people of Madinah had two days in which they used to play and indulge in the customs of the pre-Islamic period. So, the Prophet ﷺ said, 'I have come to you and you have two days in which you used to play and indulge in the customs of the pre-Islamic period. Allah has replaced them with two better days: the day of sacrifice and the day of breaking the fast.'" This is the wording of Al-Fazari's narration.
قَالَ أَنَسُ بْنُ مَالِكٍ قَدِمَ النَّبِيُّ ﷺ الْمَدِينَةَ وَلِأَهْلِ الْمَدِينَةِ يَوْمَانِ يَلْعَبُونَ فِيهِمَا بِالْجَاهِلِيَّةِ فَقَالَ قَدِمْتُ عَلَيْكُمْ وَلَكُمْ يَوْمَانِ تَلْعَبُونَ فِيهِمَا فِي الْجَاهِلِيَّةِ وَقَدْ أَبْدَلَكُمُ اللهُ خَيْرًا مِنْهُمَا يَوْمَ النَّحْرِ وَيَوْمَ الْفِطْرِ لَفْظُ حَدِيثِ الْفَزَارِيِّ