Abdullah bin Umar 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 estimate its appearance."The narrator added that Ibn Umar used to fast one day before the crescent moon appeared.

Ibn Majah 1654

Sahih

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

عن ابن عمر قال

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

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