The Messenger of Allah ﷺ said, "Do not anticipate the month, meaning Ramadan, by fasting a day or two before it, unless it coincides with a fast one of you regularly observes. Fast when you sight it and break your fast when you sight it. If it is obscured from you, then count thirty days and then break your fast."Abdullah said, I found these two hadith in my father's book in his own handwriting.
حدثنا محمد بن عبد الله الأنصاري حدثنا محمد بن عمرو عن أبي سلمة
قال رسول الله ﷺ لا تقدموا الشهر يعني رمضان بيوم ولا يومين إلا أن يوافق ذلك صوما كان يصومه أحدكم صوموا لرؤيته وأفطروا لرؤيته فإن غم عليكم فعدوا ثلاثين ثم أفطروا قال عبد الله وجدت هذين الحديثين في كتاب أبي بخط