Sahih Bukhari – Hadith No : 1893

Narrated `Aisha: (The tribe of) Quraish used to fast on the day of Ashura’ in the Pre-Islamic period, and then Allah’s Apostle ordered (Muslims) to fast on it till the fasting in the month of Ramadan was prescribed; whereupon the Prophet said, “He who wants to fast (on ‘Ashura’) may fast, and he who does not want to fast may not fast.”

Hadith In Arabic Text :

حدثنا قتيبة بن سعيد، حدثنا الليث، عن يزيد بن أبي حبيب، أن عراك بن مالك، حدثه أن عروة أخبره عن عائشة رضى الله عنها أن قريشا، كانت تصوم يوم عاشوراء في الجاهلية، ثم أمر رسول الله صلى الله عليه وسلم بصيامه حتى فرض رمضان وقال رسول الله صلى الله عليه وسلم ‏”‏ من شاء فليصمه، ومن شاء أفطر ‏”‏‏.‏

Chapter : Fasting – كتاب الصوم