Ayesha reported,

Ashura used to be fasted before Ramadan was prescribed. When Ramadan was revealed, the Prophet ﷺ said, "Whoever wishes may fast it, and whoever wishes may not."

Bukhari 4502

Sahih

حدثنا عبد الله بن محمد حدثنا ابن عيينة عن الزهري عن عروة

عن عائشة رضي الله عنها

كان عاشوراء يصام قبل رمضان فلما نزل رمضان قال من شاء صام ومن شاء أفطر

البخاري 4502صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
O you who believe, fasting has been prescribed for you as it was prescribed for those before you, that you may attain taqwa
Numbering
Darussalam 4502
Bukhari 4502