Jabir bin Samura reported,

The Messenger of Allah ﷺ used to command us to fast on the day of Ashura, urge us to do so, and check on us regarding it. But when the fast of Ramadan was made obligatory, he no longer commanded us to fast it nor checked on us regarding it.

Azami 4484

Sahih

عن جابر بن سمرة، قال

كان رسول الله ﷺ يأمرنا بصيام يوم عاشوراء، ويحثنا عليه، و يتعاهدنا عنده فلما فرض رمضان لم يأمرنا ولم يتعاهدنا عنده.

الأعظمي 4484صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Voluntary fasting and encouragement to do it
Section
Clarification on the abrogation of the obligation to fast on Ashura after the obligation of fasting in the month of Ramadan
Numbering
Jami al-Kamil 4484 (2nd edition)
Azami 4484