There is a Legacy version
here.

Phantom Ship
Ritual 2This Ritual may contain spoilers from the Gatewalkers Adventure Path
Uncommon Teleportation Source Gatewalkers (Hardcover) pg. 234Cast 1 hour;
Cost pearls or other gems worth a total value of 50 gp;
Secondary Casters 2
Primary Check Occultism (expert);
Secondary Checks Sailing Lore or
SurvivalRange 10 feet;
Target(s) 1 ship no more than 175 feet long
You create a link between a ship and an undead member of its crew to temporarily make the ship, and its passengers and crew, as
incorporeal as
ghosts. The targeted ship must be intact and on or near the surface of some water, and an
undead who was a member of the ship’s crew in life must be present for the entire ritual.
Critical Success The ship and all creatures aboard it become
incorporeal for 1 hour. During this time, the ship can sail at its top speed in any heading chosen by the primary caster, regardless of the winds. The ship can pass through any corporeal obstacles in its path (such as rocks or other vessels), but it must remain in contact with water or the ritual’s effects end prematurely. Any skill checks required to sail the ship through rough weather gain a +2 status bonus. A creature that disembarks the ship while the ritual is in effect becomes corporeal again.
Success As critical success, but the status bonus to skill checks is only +1.
Failure The ritual has no effect.
Critical Failure The ship, but not its passengers or crew, becomes incorporeal for 10 minutes, usually resulting in the passengers and crew falling through the ship into the waters below. If the ship was already sailing, it continues in its current direction at its current speed.