It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "When any one of you is praying, he should not allow anyone to pass in front of him. If the person insists, then he should fight him, for with him is his companion (Satan)."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5585
Hadith Gradingحکم دارالسلام:حديث صحيح، م: 506، وهذا إسناد حسن .