Language:
كتاب بدء الخلق
59  
Beginning of Creation
(11)
Chapter: The characteristics of Iblis (Satan) and his soldiers
(11)
باب صِفَةِ إِبْلِيسَ وَجُنُودِهِ
Sahih al-Bukhari 3274

Narrated Abu Said Al-Khudri:

The Prophet (ﷺ) said, "If while you are praying, somebody intends to pass in front of you, prevent him; and should he insist, prevent him again; and if he insists again, fight with him (i.e. prevent him violently e.g. pushing him violently), because such a person is (like) a devil."

حَدَّثَنَا أَبُو مَعْمَرٍ، حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا يُونُسُ، عَنْ حُمَيْدِ بْنِ هِلاَلٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي سَعِيدٍ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ إِذَا مَرَّ بَيْنَ يَدَىْ أَحَدِكُمْ شَىْءٌ وَهُوَ يُصَلِّي فَلْيَمْنَعْهُ، فَإِنْ أَبَى فَلْيَمْنَعْهُ، فَإِنْ أَبَى فَلْيُقَاتِلْهُ، فَإِنَّمَا هُوَ شَيْطَانٌ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3274
In-book reference : Book 59, Hadith 83
USC-MSA web (English) reference : Vol. 4, Book 54, Hadith 495
  (deprecated numbering scheme)