Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "When one of you is praying, he must not let anyone pass in front of him. If the person refuses, let him fight him, for he has a devil-companion with him."

Azami 2540

Sahih

عن عبد الله بن عمر

أن رسول الله ﷺ قال: إذا كان أحدكم يصلي فلا يدع أحدا يمر بين يديه، فإن أبي فليقاتله، فإن معه القرين.

الأعظمي 2540صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Sutrah
Section
Preventing a passerby from crossing in front of one praying
Numbering
Jami al-Kamil 2540 (2nd edition)
Azami 2540