Forbiddance Spell
D&D Forbiddance Spell Description: forbiddance seals an area against all planar travel into or within it. This includes all teleportation spells (such as dimension door and teleport), plane shifting, astral travel, ethereal travel, and all summoning spells. Such effects simply fail automatically.
More: D&D Spells for Forbiddance