Sunan an-Nasa'i, Book 22, Hadith 253 (Nasa'i 2347)

It was narrated that Ibn 'Umar said:

"If a man does not intend to fast from the night before, he should not fast."