Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:2852ʿAmr b. ʿUthmān b. Saʿīd from my father > Shuʿayb > al-Zuhrī > ʿUrwah > ʿĀʾishah

'A'isha (Allah be pleased with her) reported that the Messenger of Allah ﷺ had ordered to observe fast (on 'Ashura) before the fasting in Ramadan was made obligatory. But when it became obligatory, then he who wished fasted on the day of Ashura, and he who wished did not observe it (on that day). (Using translation from Muslim 1125d)  

الكبرى للنسائي:٢٨٥٢أَخْبَرَنِي عَمْرُو بْنُ عُثْمَانَ بْنِ سَعِيدٍ قَالَ حَدَّثَنَا أَبِي حَدَّثَنَا شُعَيْبٌ عَنِ الزُّهْرِيِّ قَالَ أَخْبَرَنِي عُرْوَةُ عَنْ عَائِشَةَ قَالَتْ

كَانَ رَسُولُ اللهِ ﷺ «يَأْمُرُ بِصِيَامِ عَاشُورَاءَ قَبْلَ أَنْ يُفْرَضَ رَمَضَانُ فَلَمَّا فُرِضَ رَمَضَانُ كَانَ مَنْ شَاءَ صَامَ عَاشُورَاءَ وَمَنْ شَاءَ أَفْطَرَ»  


See similar narrations below:

Collected by Bukhārī, Muslim, Aḥmad
bukhari:2001Abū al-Yamān > Shuʿayb > al-Zuhrī > ʿUrwah b. al-Zubayr > ʿĀʾishah

Messenger of Allah ﷺ ordered (the Muslims) to fast on the day of 'Ashura', and when fasting in the month of Ramadan was prescribed, it became optional for one to fast on that day ('Ashura') or not.  

البخاري:٢٠٠١حَدَّثَنَا أَبُو الْيَمَانِ أَخْبَرَنَا شُعَيْبٌ عَنِ الزُّهْرِيِّ قَالَ أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ أَنَّ عَائِشَةَ ؓ قَالَتْ

كَانَ رَسُولُ اللَّهِ ﷺ أَمَرَ بِصِيَامِ يَوْمِ عَاشُورَاءَ فَلَمَّا فُرِضَ رَمَضَانُ كَانَ مَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَفْطَرَ  

muslim:1125dḤarmalah b. Yaḥyá > Ibn Wahb > Yūnus > Ibn Shihāb > ʿUrwah b. al-Zubayr > ʿĀʾishah

'A'isha (Allah be pleased with her) reported that the Messenger of Allah ﷺ had ordered to observe fast (on 'Ashura) before the fasting in Ramadan was made obligatory. But when it became obligatory, then he who wished fasted on the day of Ashura, and he who wished did not observe it (on that day).  

مسلم:١١٢٥dحَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى أَخْبَرَنَا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ أَنَّ عَائِشَةَ ؓ قَالَتْ

كَانَ رَسُولُ اللَّهِ ﷺ يَأْمُرُ بِصِيَامِهِ قَبْلَ أَنْ يُفْرَضَ رَمَضَانُ فَلَمَّا فُرِضَ رَمَضَانُ كَانَ مَنْ شَاءَ صَامَ يَوْمَ عَاشُورَاءَ وَمَنْ شَاءَ أَفْطَرَ  

ahmad:26107ʿUthmān b. ʿUmar > Yūnus > al-Zuhrī > ʿUrwah > ʿĀʾishah

[Machine] That the Prophet ﷺ used to recommend fasting on the day of Ashura before the month of Ramadan was made obligatory. So when Ramadan was made obligatory, whoever wished fasted and whoever wished broke their fast.  

أحمد:٢٦١٠٧حَدَّثَنَا عُثْمَانُ بْنُ عُمَرَ قَالَ أَخْبَرَنَا يُونُسُ عَنِ الزُّهْرِيِّ عَنْ عُرْوَةَ عَنْ عَائِشَةَ

أَنَّ النَّبِيَّ ﷺ كَانَ يَأْمُرُ بِصِيَامِ عَاشُورَاءَ قَبْلَ أَنْ يَنْزِلَ رَمَضَانُ فَلَمَّا فُرِضَ رَمَضَانُ كَانَ مَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَفْطَرَ