It is narrated from Hazrat Hafsa that the Prophet (peace and blessings be upon him) said: Whoever does not make the firm intention of fasting before Fajr, his fast is not valid.
Hadith Referenceمسند احمد / مسند النساء / 26457
Hadith Gradingحکم دارالسلام:إسناده ضعيف لضعف ابن لهيعة، وقد سمع منه الحسن بعد احتراق كتبه ، ثم إنه اختلف عليه