In a Nutshell:
Scholars agreed it is haram to wear taweez (amulets) if they are made with anything other than Qur’an or hadith, but they differed concerning those that are made with Qur’an or duas from ahadith. Some said that it is permissible to wear them and some said that that is not permissible. The view it is permitted is more likely to be correct.