The Messenger of Allah ﷺ said, "When one of you is praying, he should not let anyone pass in front of him. Let him push the person away as much as he can, and if he refuses, let him fight him, for he is none other than a devil."
حدثنا إسحاق قال أخبرني مالك عن زيد بن أسلم
أن رسول الله ﷺ قال إذا كان أحدكم يصلي فلا يدع أحدا يمر بين يديه وليدرأه ما استطاع فإن أبى فليقاتله فإنما هو شيطان