Under what condition is a follower's (Ma'mum) prayer invalidated regarding his physical alignment with the Imam?

Rulings on Following the Imam (الإقتداء) and Row Formations