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."
أَبُو صَالِحٍ أُحَدِّثُكَ عَمَّا رَأَيْتُ مِنْ أَبِي سَعِيدٍ وَسَمِعْتُهُ مِنْهُ دَخَلَ أَبُو سَعِيدٍ عَلَى مَرْوَانَ فَقَالَ سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ إِذَا صَلَّى أَحَدُكُمْ إِلَى شَىْءٍ يَسْتُرُهُ مِنَ النَّاسِ فَأَرَادَ أَحَدٌ أَنْ يَجْتَازَ بَيْنَ يَدَيْهِ فَلْيَدْفَعْ فِي نَحْرِهِ فَإِنْ أَبَى فَلْيُقَاتِلْهُ فَإِنَّمَا هُوَ شَيْطَانٌ