It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them) that the Messenger of Allah (peace and blessings be upon him) said: "The month can also be of twenty-nine days. Do not fast until you see the moon, and do not stop fasting until you see the moon. If it is cloudy, then complete the count to thirty."
Hadith Referenceالسنن المأثورة / باب ما جاء في تقدم الشهر / 338
Hadith Takhrijصحیح بخاری، الصوم، باب قول النبى اذا رأيتم الہلال فصوموا، رقم : 1907، صحیح مسلم، الصيام، باب وجوب صوم رمضان لرؤية الہلال، رقم : 1080