Sahih Muslim 1126 d
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 both of them) reported that he heard the Messenger of Allah (ﷺ) say about the day of Ashura:
It is a day on which the people of pre-Islamic days observed fast. So he who liked to fast on this day should do so, and he who liked to abandon it should abandon it. 'Abdullah (Allah be pleased with him) did not observe fast except when it coincided (with the days when he was in the habit of observing voluntary fasts during every month).
Full reference and source
Sahih Muslim 1126 d In-book : Book 13, Hadith 151 USC-MSA web (English) : Book 6, Hadith 2507 (deprecated)
View source on Sunnah.com (opens in a new tab)