It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both): "The Messenger of Allah (peace and blessings be upon him) (at first) used to let his hair hang down, while the polytheists used to part the hair of their heads and the People of the Book used to let their hair hang down. In matters about which no command had been revealed to him, the Messenger of Allah (peace and blessings be upon him) liked to agree with the People of the Book. Then (later) the Messenger of Allah (peace and blessings be upon him) began to part the hair of his head."
Hadith Referenceمسند أبي يعلى الموصلي / أول مسند ابن عباس / 2554
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده صحيح . » «أخرجه صحيح البخاري برقم: 3365، 3728، 5573، وأخرجه صحيح مسلم برقم: 2336، وأخرجه سنن النسائي برقم: 5238، وأخرجه سنن أبي داود برقم: 4188، وأخرجه سنن ابن ماجه برقم: 3632، وأخرجه مسند أحمد برقم: 2936، وأخرجه فتح الباري برقم: 5573، وأخرجه مصنف عبد الرزاق برقم: 20518، مسند ابویعلیٰ ترقیم الاثری: 2547»