Magic‎ > ‎Spells (Paizo)‎ > ‎M‎ > ‎

Mage's Private Sanctum

School abjuration; Level sorcerer/wizard 5

CASTING

Casting Time 10 minutes
Components V, S, M (a sheet of lead, a piece of glass, a wad of cotton, and powdered chrysolite)

EFFECT

Range close (25 ft. + 5 ft./2 levels)
Area 30-ft. cube/level (S)
Duration 24 hours (D)
Saving Throw none; Spell Resistance no

By the way...
This spell can be cast on a ship.

Source Skull & Shackles Player's Guide