Why Is Fasting on Ashura Recommended in Muharram?
Muharram is one of the sacred months honored by Allah SWT, as mentioned in Surah At-Taubah verse 36. Muslims are encouraged to increase their good deeds during this month, one of which is the Ashura fast on the 10th of Muharram. This fast is an expression of gratitude for the deliverance of Prophet Musa AS from Pharaoh's pursuit and is the most virtuous fast after Ramadan.
Rasulullah SAW was very eager to observe the Ashura fast, as narrated by Ibn Abbas RA. The virtue of this fast is that it can erase minor sins from the past year, as stated in a hadith of the Prophet SAW. However, major sins are only forgiven through sincere repentance. The ruling for the Ashura fast is sunnah muakkad.
To distinguish it from Jewish customs, it is also recommended to fast on Tasua, the 9th of Muharram. The intention for the Ashura fast: "Nawaitu shauma 'Asyura sunnatan lillahi ta'ala." Besides fasting, other deeds like charity, dhikr, reciting the Qur'an, maintaining family ties, and supplicating can complete the rewards on the day of Ashura.
https://mozaik.inilah.com/ibad