Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When you see the crescent moon, begin fasting, and when you see it again, break your fast. If it is obscured from you, then fast thirty days."

Ibn Majah 1655

Sahih

حدثنا أبو مروان العثماني حدثنا إبراهيم بن سعد عن الزهري عن سعيد بن المسيب

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

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

ابن ماجه 1655صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
Fast upon sighting it and break the fast upon sighting it
Numbering
Darussalam 1655
Ibn Majah 1655