Mishkat al-Masabih 2067
عَنِ ابْنِ عَبَّاسٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَدِمَ الْمَدِينَةِ فَوَجَدَ الْيَهُودَ صِيَامًا يَوْمَ عَاشُورَاءَ فَقَالَ لَهُمْ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا هَذَا الْيَوْمُ الَّذِي تَصُومُونَهُ؟» فَقَالُوا: هَذَا يَوْمٌ عَظِيمٌ: أَنْجَى اللَّهُ فِيهِ مُوسَى وَقَوْمَهُ وَغَرَّقَ فِرْعَوْنَ وَقَوْمَهُ فَصَامَهُ مُوسَى شُكْرًا فَنَحْنُ نَصُومُهُ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «فَنَحْنُ أَحَقُّ وَأَوْلَى بِمُوسَى مِنْكُمْ» فَصَامَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَأَمَرَ بصيامه
From Ibn ʿAbbas: that the Messenger of Allah ﷺ came to Madinah and found the Jews fasting on the day of ʿAshuraʾ. The Messenger of Allah ﷺ said to them: "What is this day that you fast?" They said: "This is a great day: on it Allah saved Musa and his people and drowned Pharaoh and his people, so Musa fasted it out of thankfulness, and we fast it." The Messenger of Allah ﷺ said: "We have more right to Musa and are closer to him than you." So the Messenger of Allah ﷺ fasted it and commanded that it be fasted.