Greater Geas (5e Spell)
From D&D Wiki
|Casting time:||1 action|
You place a magical command on up to 6 creatures within range that are currently facing you. Upon casting the spell, all creatures that you have targeted with the spell must pass a Wisdom saving throw, or be charmed by you. The creatures must obey any command that you give to them, with the spell only ending when the action has been completed, or when the duration of the spell has ended. The spell can also be ended if you use an action to end it, or if Remove Curse, Greater Restoration, or Wish spells are used to dispel it.
At Higher Levels: 2 additional creatures can be targeted per spell slot above 7th Level. When casting this spell using a 9th Level spell slot, it will last until it has been dispelled.