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 (RA) is: "He meant the day of Ashura."
Hadith ReferenceSahih Muslim / The Book of Fasting / Hadith: 1134