Sahih Muslim · Hadith 2568
The Book of Fasting - كتاب الصيام
وحدثنا عبيد الله بن معاذ، حدثنا أبي، حدثنا شعبة، عن محمد بن زياد، قال سمعت أبا هريرة، - رضى الله عنه - يقول قال رسول الله صلى الله عليه وسلم " صوموا لرؤيته وأفطروا لرؤيته فإن غمي عليكم الشهر فعدوا ثلاثين " .
Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: Observe fast on sighting it (the new moon) and break it on sighting it. But if (due to clouds) the actual position of the month is concealed from you, you should then count thirty (days).
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).