Emyhr's Rhyme (5e Spell)
From D&D Wiki
|Casting time:||1 bonus action|
You recite a puzzling, cryptic rhyme and force a creature to ponder it for some time. Choose a creature you can see within this spell's range. If the target can hear and understand you, it must make your choice of an Intelligence or Wisdom saving throw. On a failed save, the target's Intelligence and Wisdom scores are swapped for the spell's duration. An affected creature can use an action on its turn to repeat the saving throw, ending the spell on a success.
At Higher Levels. When you cast this spell using a spell slot of 4th level or higher, you can target one additional creature for each slot level above 3rd.