pf2e.fyi
From Pathfinder Impossible Magic, which isn't enabled.

Unexpected Transposition

SPELL 6
Traditions arcane, occult
Cast
Range 30 feet
Targets 1 creature other than the triggering enemy
Defense Will

Trigger You are targeted with an enemy's Strike.

When attacked, you attempt to quickly swap your own position with that of another creature, causing them to get hit in your place. A creature that's unwilling to swap places with you must attempt a Will save. Willing creatures automatically fail, and you switch places. If you successfully switch places with the target, the triggering attack is resolved against that creature as if it had been the original target of the attack. After the swap, you and the target are both temporarily immune to unexpected transposition spells for 1 minute.

Pathfinder Impossible MagicORC