Abu Musa Ashari reported,

The Jews used to regard the day of Ashura as a festival. The Prophet ﷺ said, "So you fast it."In another narration, the Prophet ﷺ entered Madinah and found some Jews honoring Ashura and fasting on it. The Prophet ﷺ said, "We have more right to fast it than they do." So he ordered that it be fasted.

Azami 4490

Sahih

عن أبي موسى، قال

كان يوم عاشوراء تعده اليهود عيدا، قال النبي ﷺ: فصوموه أنتم. وفي رواية: دخل النبي ﷺ المدينة، وإذا أناس من اليهود يعظمون عاشوراء ويصومونه، فقال النبي ﷺ: نحن أحق بصومه فأمر بصومه.

الأعظمي 4490صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Voluntary fasting and encouragement to do it
Section
Explanation of the reason for fasting on the day of Ashura
Numbering
Jami al-Kamil 4490 (2nd edition)
Azami 4490