"The Messenger of Allah said: The month may be twenty-nine days or it may be thirty. When you see it, then stop fasting, and it is obscured from you (too cloudy), then complete the count."'
Sunan an-Nasa'i Book 22, Hadith 49