Hadith is a form of Islamic tradition recorded in oral sources. A hadith is usually a short and out of context account of what Muhammad said or did. Usually its purpose was to confirm something in accordance with the law of God. Together, the hadiths form the sunnah, the most important source of Muslim morality and law after the Qur'an. Initially, they were passed on orally through the chain of messengers. According to the traditional view of Muslim scholars, this contributed to the creation of many false hadiths, which were to support the interests of individual groups, and by about 200 years after the prophet's death, there were already around 200,000 Arab scholars therefore proceeded to a careful study of these messages, checking the chain of transmitters of each hadith. On the basis of this research, they created collections of hadiths believed to be authentic.
This is because it is probably apart of your schools dress code. If you feel like this is inappropriate, then you should speak with an administrative officer of your school.