Sunan an-Nasa'i #2138
The Book of Fasting 22:49
It was narrated that Abu Hurairah said:
"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."'