Sahih Muslim 1126 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ عَاشُورَاءَ يَوْمٌ مِنْ أَيَّامِ اللَّهِ فَمَنْ شَاءَ صَامَهُ وَمَنْ شَاءَ تَرَكَهُ "
Abdullah b. 'Umar (Allah be pleased with them) reported that (the Arabs of) pre-Islamic days used to observe fast on the day of Ashura and the Messenger of Allah (ﷺ) observed it and the Muslims too (observed it) before fasting in Ramadan became obligatory. But when it became obligatory, the Messenger of Allah (ﷺ) said:
Ashura is one of the days of Allah, so he who wished should observe fast and he who wished otherwise should abandon it.
Full reference and source
Sahih Muslim 1126 a In-book : Book 13, Hadith 148 USC-MSA web (English) : Book 6, Hadith 2504 (deprecated)
View source on Sunnah.com (opens in a new tab)