The Prophet (ﷺ) said, "Whoever wishes may fast on the day of 'Ashura'."
Sahih al-Bukhari Book 30, Hadith 105