Sahih al-Bukhari, Book 30, Hadith 17 (Bukhari 1839)
Narrated `Abdullah bin `Umar:
Allah's Messenger (ﷺ) said, "The month (can be) 29 nights (i.e. days), and do not fast till you see the moon, and if the sky is overcast, then complete Sha'ban as thirty days."