Abdullah ibn Abbas RA narrates:
"Rasulullah (SAW) used to leave his hair the way it naturally was, without making a path in the hair (i.e. Rasulullah SAW did not part his hair.) The reason being that the mushrikeen (polytheists) used to make a path in their hair, and the Ahlul Kitaab (People of the Book) did not do so.
In the early periods Rasulullah (SAW) preferred to follow the Ahlul Kitaab, rather than others, in matters where no command had came from Allah.
Later this was abrogated, and Rasulullah (SAW) began opposing the ways of the Ahlul Kitaab after this."