Abdullah bin Abbas reported,

The Prophet ﷺ arrived in Madinah and found the Jews fasting. He asked, "What is this?"They replied, "This is the day on which Allah saved Musa and drowned Pharaoh, so Musa fasted it in gratitude."The Messenger of Allah ﷺ said, "We have more right to Musa than you do." So he fasted that day and ordered that it be fasted.

Ibn Majah 1734

Sahih

حدثنا سهل بن أبي سهل حدثنا سفيان بن عيينة عن أيوب عن سعيد بن جبير

عن ابن عباس قال

قدم النبي ﷺ المدينة فوجد اليهود صياما فقال ما هذا قالوا هذا يوم أنجى الله فيه موسى وأغرق فيه فرعون فصامه موسى شكرا فقال رسول الله ﷺ نحن أحق بموسى منكم فصامه وأمر بصيامه

ابن ماجه 1734صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
Fasting on the day of Ashura
Numbering
Darussalam 1734
Ibn Majah 1734