Zeinab Al-`Alawani is an Instructor of Fiqh and Islamic Studies, Graduate School of Islamic and Social Sciences, Virginia, states the following: First of all, swallowing phlegm in this case does not affect fasting, but for the sake of your health it would have been better to spit it out.