Narrated 'Abdullah bin 'Abbas: The Prophet ﷺ used to keep his hair falling loose while the pagans used to part their hair, and the People of the Scriptures used to keep their hair falling loose, and the Prophet ﷺ liked to follow the People of the Scriptures in matters about which he had not been instructed differently, but later on the Prophet ﷺ started parting his hair.
This hadith also shows us how important it is for us to follow what has been taught by Allah and His Messenger ﷺ rather than blindly following what others do without any knowledge or understanding behind it. We must always strive towards learning more about our faith so that we can make informed decisions when it comes to matters related to religion and spirituality.