Case: The imam and follower are on the same side, but the follower stands closer to the Kaaba.
Ruling: The following is invalid because the follower stands ahead of the imam on their common side.
Reason: With a shared direction, the front-to-back relation is unambiguous.