I will tell you what I saw of Abu Saeed and heard from him. Abu Saeed entered upon Marwan and said, "I heard the Messenger of Allah ﷺ say, 'When one of you prays facing something that screens him from the people, and someone wants to pass in front of him, let him push him back in the throat. If he refuses, let him fight him, for he is only a devil.'"
حدثنا موسى بن إسمعيل حدثنا سليمان يعني ابن المغيرة عن حميد يعني ابن هلال قال
أحدثك عما رأيت من أبي سعيد وسمعته منه دخل أبو سعيد على مروان فقال سمعت رسول الله ﷺ يقول إذا صلى أحدكم إلى شيء يستره من الناس فأراد أحد أن يجتاز بين يديه فليدفع في نحره فإن أبى فليقاتله فإنما هو الشيطان
Muslim narrated it in the chapter on prayer, section: prohibition of passing in front of one praying, hadith 505, from the hadith of Sulayman bin Mughira, and Bukhari, in the chapter on prayer, section: one praying should repel whoever passes in front of him, hadith 509, from the hadith of Humayd bin Hilal, with the same wording.