That is not valid, because fasting the six days of Shawwaal can only be done after fasting Ramadaan in full.Â
Shaykh Ibn âUthaymeen said in Fataawa al-Siyaam (438):Â
Whoever fasts the day of âArafah, or the day of âAshooraâ, but still owes days from Ramadaan, his fast is valid, but if he intends to fast this day to make up for a missed Ramadaan fast, he will have two rewards: the reward for the day of âArafah or âAshooraâ along with the reward for making up the missed fast. This has to do with voluntary fasts in general that are not connected to Ramadaan. With regard to fasting the six days of Shawwaal, they are connected to Ramadaan and can only done after making up missed Ramadaan fasts. If he fasts them before making up missed Ramadaan fasts he will not attain that reward, because the Prophet (peace and blessings of Allaah be upon him) said: âWhoever fasts Ramadaan then follows it with six days of Shawwaal, it will be as if he fasted for a lifetime.â It is well known that whoever still owes days from Ramadaan is not regarded as having fasted Ramadaan until he makes up the days he missed.