Abdullah bin Abbas reported,

The Messenger of Allah ﷺ arrived in Medina and found the Jews fasting on the day of Ashura. The Messenger of Allah ﷺ asked them, "What is this day on which you are fasting?"They replied, "This is a great day. Allah saved Musa and his people on it, and drowned Pharaoh and his people. So Musa fasted it in gratitude, and we fast it as well."The Messenger of Allah ﷺ said, "We have a greater claim to Musa than you do." So the Messenger of Allah ﷺ fasted on that day and ordered that it be observed as a fast.

Azami 10729

Sahih

عن ابن عباس

أن رسول الله ﷺ قدم المدينة، فوجد اليهود صياما، يوم عاشوراء. فقال لهم رسول الله ﷺ: ((ما هذا اليوم الذي تصومونه؟)) فقالوا: هذا يوم عظيم. أنجى الله فيه موسى وقومه، وغرق فرعون وقومه، فصامه موسي شكرا، فنحن نصومه. فقال رسول الله ﷺ: ((فنحن أحق وأولى بموسى منكم)) فصامه رسول الله ﷺ وأمر بصيامه.

الأعظمي 10729صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the times
Chapter
Virtues of days and nights
Section
Virtue of the day of Ashura
Numbering
Jami al-Kamil 10729 (2nd edition)
Azami 10729