Abdullah bin Umar reported,

The Prophet ﷺ fasted on Ashura and ordered others to fast it. When Ramadan was made obligatory, this practice was abandoned. Abdullah would not fast it unless it happened to coincide with his regular fasting.

Bukhari 1892

Sahih

حدثنا مسدد حدثنا إسماعيل عن أيوب عن نافع

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

صام النبي ﷺ عاشوراء وأمر بصيامه فلما فرض رمضان ترك وكان عبد الله لا يصومه إلا أن يوافق صومه

البخاري 1892صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Fasting
Chapter
Obligation of fasting Ramadan
Numbering
Darussalam 1892
Bukhari 1892