أَخْبَرَنَا أَحْمَدُ بْنُ الأَزْهَرِ، قَالَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ، عَنِ ابْنِ جُرَيْجٍ، عَنِ ابْنِ شِهَابٍ، عَنْ سَالِمٍ، عَنِ ابْنِ عُمَرَ، عَنْ حَفْصَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏"‏ مَنْ لَمْ يُبَيِّتِ الصِّيَامَ مِنَ اللَّيْلِ فَلاَ صِيَامَ لَهُ ‏"‏ ‏.‏

It was narrated from Hafsah that the Prophet said: "Whoever does not have the intention of fasting from the night before, then there is no fast for him." (Daif) Translation Not Available

Book Ref: Sunan An Nisai Book 22 Hadith 2334
Web Ref:  Sunan An Nisai Vol 3 Book 22 Hadith 2336