Hakam bin Araj reported,

I came to Ibn Abbas while he was reclining on his cloak near Zamzam, and I said to him, "Tell me about fasting on the day of Ashura."He replied, "When you sight the crescent of Muharram, count the days, and begin fasting on the morning of the ninth."I asked, "Is this how the Messenger of Allah ﷺ used to fast it?"He answered, "Yes."

Azami 4487

Sahih

عن الحكم بن الأعرج، قال

انتهيت إلى ابن عباس وهو متوسد رداءه في زمزم، فقلت له: أخبرني عن صوم عاشوراء؟ فقال: إذا رأيت هلال المحرم فاعدد، وأصبح يوم التاسع صائما. قلت: هكذا كان رسول الله ﷺ يصومه؟ قال: نعم.

الأعظمي 4487صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Voluntary fasting and encouragement to do it
Section
Which day is Ashura
Numbering
Jami al-Kamil 4487 (2nd edition)
Azami 4487