Abu Salih said: I narrate what I witnesses from Abu Sa'id and heard from him. Abu Sa'id entered upon Marwan and said: I heard the Messenger of Allah ﷺ say: When one of you prays facing any object which conceals him from people, and someone wishes to pass in front of him, he should strike him at his chest; if he refuses (to go), he should fight him; he is only a devil. Abu Dawud said: Sufyan Ath-Thawri said: "A person arrogantly walks in front of me while I am praying, so I stop him, and a weak person passes, so I dont stop him".
The Prophet Muhammad ﷺ taught his followers that prayer was a sacred act which must be respected at all times. He warned against any kind of interruption or disturbance during this time as it can lead people away from worshipping Allah SWT properly and sincerely. We must always remember this lesson when engaging in our daily prayers so that we can maintain a peaceful atmosphere for ourselves and those around us while worshipping Allah SWT with humility and devotion.