A follower praying outside the Ka'bah in a circle is permitted to stand closer to the Ka'bah wall than the Imam, provided they are not positioned in front of the Imam's specific row.

Prayer Inside and on top of the Holy Ka'bah