Teleport

Ranged spell
Daily
Effect: 

You and up to 4 allies next to you can teleport to any location in the world, underworld, or overworld that you have previously visited.

When you teleport, roll a d20. If you roll a 1, you miss your desired location and arrive somewhere else altogether. Otherwise, you and your allies arrive at the desired location at the start of your next turn.

Any effects of spells or items cast before teleporting are dispelled and no longer function on arrival.

Epic Feat: 

Your allies don't need to be next to you before you cast the spell, just nearby. Alternately, if they are all next to you when you cast the spell, you can teleport to a location known to one of your allies.