Question: Can one use oil in the hair while fasting?
Answer: Using oil in the hair does not break the fast. Rubbing oil on the body does not break the fast either.
(Al-Jawharah an-Nayyirah, Kitāb aṣ-Ṣawm, p. 179).