For a particular duration, you can hide the target which you able to touch from a divination magic. The target able to be a willing creature or else the place or even an object not larger than 10 feet in any of its dimensions. Of course the target can not be targeted by any divination magic or perceived via the magical Scrying sensors.
Check also: wish 5e spell
Attributes Of Nondetection 5E Spell
|Casting Time||1 action|
|Classes||Bard, Ranger, Wizard|
|Components||V S M|
|Material||A pinch of diamond dust worth 25 gp sprinkled over the target, which the spell consumes|
|Target||A willing creature, a place, or an object no larger than 10 feet in any direction|