[Machine] The Messenger of Allah ﷺ used to command the observance of fasting on the day of Ashura before the obligatory fast of Ramadan was prescribed. When the fast of the month of Ramadan became mandatory, whoever desired would observe the fast on the day of Ashura, and whoever desired would break their fast.
كَانَ رَسُولُ اللهِ ﷺ أَمَرَ بِصِيَامِ يَوْمِ عَاشُورَاءَ قَبْلَ أَنْ يُفْرَضَ رَمَضَانُ فَلَمَّا فُرِضَ صِيَامُ شَهْرِ رَمَضَانَ كَانَ مَنْ شَاءَ صَامَ عَاشُورَاءَ وَمَنْ شَاءَ أَفْطَرَ