It is narrated from Sayyidah Maymunah bint Sa'd (may Allah be pleased with her) that she heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever has firmly resolved to fast from the night, let him fast; and whoever reaches the morning without having made the intention to fast (from the night), let him not fast."
Al-Harith recorded this hadith through al-Waqidi, and he is da'if (weak). Imam Abu Dawud and Imam al-Tirmidhi recorded it from the narration of Sayyidah Hafsah (may Allah be pleased with her), and Imam al-Hakim from the hadith of Sayyidah Aishah (may Allah be pleased with her) with a chain whose narrators are thiqat (trustworthy), while Imam al-Bayhaqi recorded it in "al-Sunan al-Kubra" from Sayyiduna Ibn Umar (may Allah be pleased with them both) as mawquf.
Hadith Takhrij«رواه الحارث عن الواقدي وهو ضعيف، ورواه أبو داود والترمذي من حديث حفصة، والحاكم من حديث عائشة بسند رجاله ثقات، والبيهقي في الكبرى من حديث ابن عمر موقوفا» «أخرجه سنن الترمذي برقم: 730، وأخرجه سنن النسائي برقم: 2342، وأخرجه موطأ مالك برقم: 637، وأخرجه صحيح ابن خزيمة برقم: 1935، 2091، 2141، وأخرجه المطالب العالية بزوائد المسانيد الثمانية برقم: 1012»