Answered by Shaykh Faraz Rabbani
Question: What should one do if one finds hair in one’s food after it has been cooked?
Answer: In the name of Allah, Most Merciful.
Hair is pure (tahir), so it would not affect the purity of the food or the permissibility of eating it. However, one cannot choose to eat human hair.