Ayesha reported,

The Messenger of Allah ﷺ had commanded the fasting of the day of Ashura. When the fast of Ramadan was made obligatory, whoever wished to fast did so, and whoever wished to break it did so.

Bukhari 2001

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال أخبرني عروة بن الزبير أن

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

كان رسول الله ﷺ أمر بصيام يوم عاشوراء فلما فرض رمضان كان من شاء صام ومن شاء أفطر

البخاري 2001صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Fasting
Chapter
Fasting on the day of Ashura
Numbering
Darussalam 2001
Bukhari 2001