The mother of the believers, Hafsah (RAA) narrated that The Messenger of Allah (ﷺ) said:
"Whoever does not form his intention to fast before to fajr, his fasting will not be accepted." Related by the five Imams, but At-Tirmidhi and An-Nasa'i consider it to be related by Hafsah and not connected to the Prophet (ﷺ). Imam Ad-Daraqutni transmitted, "No fasting is accepted for one who does not form the intention (to fast) the night before." (DE)
English reference (DE): Book 5, Hadith 677 (DE)
Arabic reference (DE): Book 5, Hadith 656 (DE)