It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Fast the day of Ashura and differ from the Jews in it, (in this way, that) you fast one day before it and one day after it."
Imam Musaddad, Imam Ahmad bin Hanbal and Imam al-Bayhaqi recorded this hadith with a da'if (weak) chain, because one of its narrators, Muhammad bin Abi Layla, is weak; however, he is not alone in this narration, for Salih bin Abi Salih bin Hayy corroborated him in it. Likewise Imam al-Humaydi recorded it, and his wording is that the Messenger of Allah (peace and blessings be upon him) said: "If I remain alive (until next year), I will certainly order the fasting of a day before it or a day after it, meaning (along with) the day of Ashura." This narration is also in the two Sahihs and in Sunan al-Nasa'i in abridged form.
Hadith Takhrij«رواه مسدد وأحمد بن حنبل والبيهقي بسند ضعيف؛ لضعف محمد بن أبي ليلى، لكن لم ينفرد به؛ فقد تابعه عليه صالح بن أبي صالح بن حي» «أخرجه سنن أبي داود برقم: 2445، وأخرجه مسند أحمد برقم: 2107، 2155، وأخرجه فتح الباري برقم: 1899، 1896، 1900، 1، وأخرجه صحيح مسلم برقم: 1134، وأخرجه سنن الترمذي برقم: 755، وأخرجه سنن ابن ماجه برقم: 1736، وأخرجه صحيح ابن خزيمة برقم: 2084، 2095، وأخرجه المعجم الكبير للطبراني برقم: 10785، 10817، 10891، 11266، 12362، 12442، وأخرجه المعجم الأوسط للطبراني برقم: 6988، وأخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 5238»