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."

Azami 4317

Sahih

عن أبي هريرة، قال

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

الأعظمي 4317صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Obligation of fasting, its virtue, and its rulings
Section
Obligation of fasting upon sighting Hilal and breaking the fast upon sighting it, and if it is obscured then completing the month as thirty days
Numbering
Jami al-Kamil 4317 (2nd edition)
Azami 4317