Hakam bin Araj reported,

I came to Ibn Abbas while he was reclining on his cloak in the Sacred Mosque, and I asked him about fasting the day of Ashura.He said, "When you see the crescent of Muharram, count the days, and on the ninth day wake up fasting."I asked, "Is this how Muhammad ﷺ used to fast it?"He replied, "That is how Muhammad ﷺ used to fast it."

Abu Dawud 2446

Sahih

حدثنا مسدد حدثنا يحيى يعني ابن سعيد عن معاوية بن غلاب ح و حدثنا مسدد حدثنا إسمعيل أخبرني حاجب بن عمر جميعا المعنى

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

أتيت ابن عباس وهو متوسد رداءه في المسجد الحرام فسألته عن صوم يوم عاشوراء فقال إذا رأيت هلال المحرم فاعدد فإذا كان يوم التاسع فأصبح صائما فقلت كذا كان محمد ﷺ يصوم فقال كذلك كان محمد ﷺ يصوم

أبو داود 2446صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Fasting
Chapter
Ashura is the ninth day
Numbering
Darussalam 2446
Abu Dawud 2446