Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Fast when you see it and break your fast when you see it. If the month is obscured from you, then count thirty days."

Muslim 2516

Sahih

و حدثنا عبيد الله بن معاذ حدثنا أبي حدثنا شعبة عن محمد بن زياد قال سمعت

أبا هريرة رضي الله عنه يقول

ا قال رسول الله ﷺ صوموا لرؤيته وأفطروا لرؤيته فإن غمي عليكم الشهر فعدوا ثلاثين

مسلم 2516صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Obligation of fasting Ramadan upon sighting Hilal and breaking the fast upon sighting Hilal, and that if it is obscured at its beginning or end the month is completed as thirty days
Numbering
Darussalam 2516
Muslim 2516