The Messenger of Allah ﷺ said, "Do not fast until you see the crescent moon, and do not break your fast until you see the crescent moon." He also said, "Fast when you see it and break your fast when you see it. If it is hidden from you, then count thirty days."Shuba said, "To the best of my knowledge, he said, 'Do not fast until you see the crescent moon, and do not break your fast until you see the crescent moon.'"
قال حدثنا محمد بن جعفر قال حدثنا شعبة عن محمد بن زياد قال سمعت
إن رسول الله ﷺ قال لا تصوموا حتى تروا الهلال ولا تفطروا حتى تروا الهلال وقال صوموا لرؤيته وأفطروا لرؤيته فإن غبي عليكم فعدوا ثلاثين قال شعبة وأكثر علمي أنه قال لا تصوموا حتى تروا الهلال ولا تفطروا حتى تروا الهلال
[Shakir: 9846] Its chain of transmission is sahih, previously mentioned at 9346. [Shakir: 9847] Its chain of transmission is sahih, and it is like the one before it.