The Book of Fasting (Kitab Al-Sawm)

Muslim :: Book 6 : Hadith 2381

Abu Huraira (Allah be pleased with him) narrated that the Messenger of Allah (may peace he upon him) made a mention of the new moon and (in this connection) said: Observe fast when you see it (the new moon) and break fast when you see it (the new moon of Shawwal), but when (the actual position of the month is) concealed from you (on account of cloudy sky), then count thirty days.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star