Magic‎ > ‎Spells (Paizo)‎ > ‎P‎ > ‎

Passwall

School transmutation; Level sorcerer/wizard 5; Elemental School earth 5

CASTING

Casting Time 1 standard action
Components V, S, M (sesame seeds)

EFFECT

Range touch
Effect 5-ft.-by-8-ft. opening, 10 ft. deep plus 5 ft. deep per three additional levels
Duration 1 hour/level (D)
Saving Throw none; Spell Resistance no

By the way...
A ship can make a Fortitude save to negate the effects of this spell. A ship affected by this spell gains the broken condition and the sinking condition, but the ship is restored to its normal condition when the spell ends (though a sunken ship remains sunk).

Source Skull & Shackles Player's Guide