Abdullah bin Umar reported,

The Day of Ashura was a day that the people of the pre-Islamic era used to fast. When Ramadan was made obligatory, the Messenger of Allah ﷺ was asked about it, and he said, "It is one of the days of Allah Almighty. Whoever wishes may fast it, and whoever wishes may leave it."

Ahmad 5203

Sahih

حدثنا يحيى عن عبيد الله أخبرني نافع

عن ابن عمر قال

كان يوم عاشوراء يوما يصومه أهل الجاهلية فلما نزل رمضان سئل عنه رسول الله ﷺ قال هو يوم من أيام الله تعالى من شاء صامه ومن شاء تركه

أحمد 5203صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 5203
Ahmad 5203