the Prophet said: "Whoever did not decide to fast before Fajr then there is no fast for…

Jami` at-Tirmidhi Book 8 Hadith 49

Jami` at-Tirmidhi #730

The Book on Fasting 8:49

Hafsah narrated that:

the Prophet said: "Whoever did not decide to fast before Fajr then there is no fast for him."

Chapter: What Has Been Related About: There Is No Fast For The One Who Did Not Determine It During The (Preceding) Night

Grade: Da'if (Darussalam)