Wall of Stone
A nonmagical wall of solid stone appears at a point you choose. The wall is 6 inches thick and is made up of a contiguous group of ten 10-foot square sections. Alternatively, you can create 10-foot-by-20-foot sections that are only 3 inches thick.
The wall can have any shape you desire, though it can't occupy the same space as a creature or object. The wall doesn't need to be vertical or rest on any firm foundation but must merge with and be solidly supported by existing stone. Thus, you can use this spell to bridge a chasm or create a ramp.
If the wall enters a creature's space when it appears, the creature is pushed to one side of the wall (your choice), but when a creature would be surrounded on all sides by the wall (or the wall and another solid surface), it can use its reaction to make a Dexterity saving throw to move up to its Speed to escape.
If you create a span greater than 20 feet in length, you must halve the size of each panel to create supports. You can crudely shape the wall to create crenelations, battlements, and so on.
The wall is an object made of stone. Each panel has AC 15 and 30 hit points per inch of thickness. Reducing a panel to 0 hit points destroys it and at the Narrator’s discretion might cause connected panels to collapse.
You can make the wall permanent by concentrating on the spell for the full duration.
Gabal's Hardy Wall of Stone. Each panel has AC 18 and 40 hit points per inch of thickness. Reducing a panel to 0 hit points destroys it but does not cause connected panels to collapse.