It was narrated that Abu Hurairah said: “The Messenger of Allah صلی اللہ علیہ وآلہ وسلم mentioned the crescent and said: ‘When you see it, fast, and when you see it, stop fasting, and if it is obscured from you (too cloudy), then count thirty days.” (Sahih)