Riyad as-SalihinChapter 8Hadith 546
Full Sharh — Riyad as-Salihin 546
وعن ابن عباس رضي الله عنهما قال: قال رسول الله صلى الله عليه وسلم " لا تصوموا قبل رمضان صوموا لرؤيته وأفطروا لرؤيته، فإن حالت دونه فأكملوا ثلاثين يومًا" ((رواه الترمذي وقال حديث حسن صحيح.
English Translation
Ibn 'Abbas (May Allah be pleased with them) reported:: The Messenger of Allah (ﷺ) said, "Do not observe Saum (fasting) before the advent of Ramadan. Observe Saum at sighting of the crescent of Ramadan and terminate it at sighting the crescent (of Shawwal). If the sky is overcast, complete (the month as) thirty (days).".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
546