We had always seen as in the mosque (usually when there is a lot of people) some pass before committing prayer and those, in turn, put forward their hands, as if to say passing that he's wrong. I am wondering whether there is such a distance from the person who prays namaz when passing in front of him, will not be sin. And in general, what does Islam say about passing in front of a praying person?
In a labor of Hanafi Fiqh Muhtasar “Al Vikaya” Sheikh Ubaidullah ibn Mas'ud (747 A.H.) states the following:
“It is forbidden (makruh - Tahrim action very close to haraam) pass in front of a praying person in a small mosque. As for other places (big mosque, home, etc.), it is not permitted to pass within sight of praying (whose eyes turned to the place of prostration)”.
The Mufti of the Republic of Tatarstan Kamil hazrat Samigullin