Sahih Muslim, Book 13, Hadith 173 (Muslim 2642)

Abdullah b 'Abbas reported that the Messenger of Allah (ﷺ) had said:

If I live till the next (year), I would definitely observe fast on the 9th, and the narration transmitted by Abu Bakr is:" He meant the day of Ashura."