Jabir b Samura reported that the Messenger of Allah ﷺ commanded us to observe fast on the day of Ashura and exhorted us to do it and was particular about it But when (fasting) in Ramadan was made obligatory, he hence. forth neither commanded us nor forbade us, nor was he so particular about it. (Using translation from Muslim 1128)
كَانَ رَسُولُ اللهِ ﷺ يَأْمُرُنَا بِصِيَامِ عَاشُورَاءَ وَيَحُثُّنَا عَلَيْهِ وَيَتَعَاهَدُنَا عِنْدَهُ فَلَمَّا فُرِضَ رَمَضَانُ لَمْ يَأْمُرْنَا وَلَمْ يَنْهَنَا عَنْهُ وَلَمْ يَتَعَاهَدْنَا عِنْدَهُ