Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "The month is only twenty-nine days, so do not fast until you see it, and do not break your fast until you see it. If it is obscured from you, then estimate it."Nafi said that whenever twenty-nine days of Shaban had passed, Abdullah would send someone to look for the moon. If it was sighted, that settled the matter. If it was not sighted, and there were no clouds or haze blocking the view, he would begin the next day not fasting. But if clouds or haze obscured the view, he would begin the next day fasting.

Ahmad 4488

Sahih

حدثنا إسماعيل أخبرنا أيوب عن نافع

عن ابن عمر قال

قال رسول الله ﷺ إنما الشهر تسع وعشرون فلا تصوموا حتى تروه ولا تفطروا حتى تروه فإن غم عليكم فاقدروا له قال نافع فكان عبد الله إذا مضى من شعبان تسع وعشرون يبعث من ينظر فإن رئي فذاك وإن لم ير ولم يحل دون منظره سحاب ولا قتر أصبح مفطرا وإن حال دون منظره سحاب أو قتر أصبح صائما

أحمد 4488صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 4488
Ahmad 4488