The Messenger of Allah (ﷺ) said: He who does not determine to fast before dawn does not fast.
Sunan Abi Dawud Book 14, Hadith 142