Abdullah bin Abbas reported,

When the Prophet ﷺ arrived in Madinah, he found the Jews fasting on the day of Ashura. They were asked about this, and they replied, "This is the day on which Allah granted Musa and the Children of Israil victory over Pharaoh, so we fast it to honor it."The Messenger of Allah ﷺ said, "We have a greater claim to Musa than you do." Then he ordered that it be fasted.

Bukhari 3943

Sahih

حدثنا زياد بن أيوب حدثنا هشيم حدثنا أبو بشر عن سعيد بن جبير

عن ابن عباس رضي الله عنهما قال

لما قدم النبي ﷺ المدينة وجد اليهود يصومون عاشوراء فسئلوا عن ذلك فقالوا هذا اليوم الذي أظفر الله فيه موسى وبني إسرائيل على فرعون ونحن نصومه تعظيما له فقال رسول الله ﷺ نحن أولى بموسى منكم ثم أمر بصومه

البخاري 3943صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Jews coming to the Prophet ﷺ when he arrived in Madinah
Numbering
Darussalam 3943
Bukhari 3943