Amulet of Magic Immunity (5e Equipment)
From D&D Wiki
Wondrous Item, artifact (requires attunement)
A rough cast iron amulet with an old leather cord. It is obviously very old and was made by some of the first smiths of an unknown race.
Magic Immunity While wearing this amulet, you are immune to magic. You can't be targeted or perceived by magic, unless you wish so. However you cannot use spells either.
Destroying the Amulet of Magic Immunity. The leather cord is just an ordinary cord, you can destroy it just like any other leather item. However the cast iron amulet cannot be crushed, cracked, shattered, melted, cut into or destroyed by any means, including magic. Whoever made it made it to last. You cannot destroy this artifact.