V, S, M (Soft clay, which must be worked into roughly the desired shape of the stone object)
Duration
Instantaneous
School
Transmutation
Level
4
You touch a stone object of Medium size or smaller or a section of stone no more than 5 feet in any dimension and form it into any shape that suits your purpose. So, for example, you could shape a large rock into a weapon, idol, or coffer, or make a small passage through a wall, as long as the wall is less than 5 feet thick. You could also shape a stone door or its frame to seal the door shut. The object you create can have up to two hinges and a latch, but finer mechanical detail isn't possible.
The 2024 Player’s Handbook revised many spells, and the SRD 5.2 carries the new text. What changed from the 2014 version above:
Same level, casting time, range, components, duration and dice; the text is reworded for the 2024 rules glossary.
Casting time
Action
Range
Touch
Components
V, S, M (soft clay)
Duration
Instantaneous
School
Transmutation
Level
4
Classes
Cleric, Druid, Wizard
You touch a stone object of Medium size or smaller or a section of stone no more than 5 feet in any dimension and form it into any shape you like. For example, you could shape a large rock into a weapon, statue, or coffer, or you could make a small passage through a wall that is 5 feet thick. You could also shape a stone door or its frame to seal the door shut. The object you create can have up to two hinges and a latch, but finer mechanical detail isn't possible.
2024 version from the SRD 5.2. Most tables settle on one edition, so check which one yours uses.