It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
“When you see the new crescent then fast, and when you see it then stop fasting. If it is cloudy then fast thirty days.”