When the Prophet ﷺ arrived at Medina, the Jews were observing the fast on 'Ashura' (10th of Muharram) and they said, "This is the day when Moses became victorious over Pharaoh," On that, the Prophet ﷺ said to his companions, "You (Muslims) have more right to celebrate Moses' victory than they have, so observe the fast on this day."
قَدِمَ النَّبِيُّ ﷺ الْمَدِينَةَ وَالْيَهُودُ تَصُومُ عَاشُورَاءَ فَقَالُوا هَذَا يَوْمٌ ظَهَرَ فِيهِ مُوسَى عَلَى فِرْعَوْنَ فَقَالَ النَّبِيُّ ﷺ لأَصْحَابِهِ أَنْتُمْ أَحَقُّ بِمُوسَى مِنْهُمْ فَصُومُوا