The Messenger of Allah ﷺ said, "Do not anticipate the month by a day or two, unless it falls on a fast one of you regularly keeps. Fast when you see it and break your fast when you see it. If it is hidden from you by clouds, then complete thirty days and afterward break your fast."
وبإسناده قال رسول الله ﷺ لا تقدموا الشهر بيوم ولا يومين إلا أن يوافق أحدكم صوما كان يصومه صوموا لرؤيته وأفطروا لرؤيته فإن غم عليكم فأتموا ثلاثين يوما ثم أفطروا