Sahih al-Bukhari, Book 30, Hadith 19 (Bukhari 1841)

Narrated Abu Huraira:

The Prophet (ﷺ) or Abul-Qasim said, "Start fasting on seeing the crescent (of Ramadan), and give up fasting on seeing the crescent (of Shawwal), and if the sky is overcast (and you cannot see it), complete thirty days of Sha'ban."