I search and in a Quran (Holy Book of Muslims) I find this Ayat.
(4:3) "O you who have believed, when you rise to [perform] prayer, wash your faces and your forearms to the elbows and wipe over your heads and wash your feet to the ankles."
Here WIPE OVER YOUR HEADS means massah. But massah in that condition is correct when water reach our hairs. When the oil is act as a barrier on our heads same as nail polish act as barrier on our nails and water could not reach nails and than ablution is not perform correct by this.