Abu Sa`id said, “I heard the Prophet (ﷺ) saying, ‘If anybody amongst you is praying behind something as a Sutra and somebody tries to pass in front of him, then he should repulse him and if he refuses, he should use force against him for he is a Shaitan (a Satan).’ ”
Shaykh Al Bassam mentioned in Tawdeehul Ahkaam 2/83
“This narration is proof upon the greatness of the sin of the one who passes (in front of the one praying) and his crime, until some of the scholars and from them Ibnul Qaiyum considered it from the Major Sins”