What is the ruling for a follower demonstrably ahead of the imam on the same side?

Prayer in, Around, and on the Roof of the Kaaba