If a person stands exactly behind someone after making the intention for prayer, then the person in front can move away from there for his need, and this moving away does not fall under the prohibited act of passing (in front of someone praying). (Aham Masail / Vol: 5 / Pg: 115)