The Prophet (peace and blessings be upon him) said: "Whoever hangs an amulet has committed shirk (associated partners with Allah)."