Sahih Bukhari
Dress
Volume: 007 / Book Number: 072 / Hadith Number: 799
Narrated Ibn 'Abbas:
The Prophet used to copy the people of the Scriptures in matters in which there was no order from Allah. The people of the Scripture used to let their hair hang down while the pagans used to part their hair. So the Prophet let his hair hang down first, but later on he parted it.