Mishkat al-Masabih 777
وَعَنْ أَبِي سَعِيدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا صَلَّى أَحَدُكُمْ إِلَى شَيْءٍ يَسْتُرُهُ مِنَ النَّاسِ فَأَرَادَ أَحَدٌ أَنْ يَجْتَازَ بَيْنَ يَدَيْهِ فَلْيَدْفَعْهُ فَإِنْ أَبَى فَلْيُقَاتِلْهُ فَإِنَّمَا هُوَ شَيْطَانٌ» . هَذَا لَفْظُ الْبُخَارِيِّ وَلمُسلم مَعْنَاهُ
And from Abu Saʿid, who said: The Messenger of Allah ﷺ said: "When one of you prays towards something that screens him from people, and someone wants to pass in front of him, let him push him back, and if he refuses, let him fight him, for he is only a devil." This is the wording of al-Bukhari, and Muslim has its meaning.