Sunan an-Nasa'i, Book 22, Hadith 33 (Nasa'i 2127)

It was narrated form Ibn 'Umar that the Prophet said:

"D not fast until you see it , and do not stop fasting until you see it, and if it is obscured from you (too cloudy), then work it out."