"The Messenger of Allah said; 'Fast when you see it and stop fasting when you see it, and if it is obscured from you (too cloudy), then complete thirty (days)."'
Sunan an-Nasa'i Book 22, Hadith 35