Abu Huraira (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: Do not fast one or two days before Ramadan, except for a person who is already in the habit of fasting, then he may fast on those days as well.
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 610
Hadith Takhrijاخرجه البخاري، الصوم، باب لا يتقدم رمضان بصوم يوم ولا يومين (1914) ومسلم، الصيام، باب ”لا تقدموا رمضان بصوم يوم ولا يومين“ (1082)۔