Rune of Distraction (5e Spell)
From D&D Wiki
|Casting time:||1 minute|
|Components:||V, S, M (a platinum piece, which the spell consumes)|
You place a distracting, invisible rune on an object at least one inch in every dimension and smaller than eight feet in any dimension. The object cannot be a living creature or a magical item. A creature that comes within 10 feet of the object or starts its turn there must make a Wisdom saving throw; if it's actively looking for the item (and it's sure that the item in question is, indeed, the item it's looking for), it has advantage on this saving throw. On a failed save, the creature is compelled to ignore the item and anything around the item, or their attention is otherwise turned elsewhere.
A creature can detect the rune's presence with a successful Intelligence (Arcana) check against your spell save DC and the rune is disrupted (dispelled) when any spell of 3rd level or higher is cast within 10 feet of it.