Mass Traumatic Teleport (5e Spell)
From D&D Wiki
You attempt to instantly transport up to eight creatures within range into one or more solid objects you can see within 500 feet of you. Each object that you use as a destination for a creature must be the same size as that creature or larger. Each creature must make a Constitution saving throw. On a failed save, it partially teleports into the object, takes 6d10 force damage, and is restrained. On a successful save, a creature takes 3d10 force damage but is neither teleported nor restrained.
A creature restrained by this spell may make a Strength save at the end of each of its turns. Once it successfully makes the Strength save three times, it is no longer restrained and shunted into the nearest empty, unoccupied space.