كتاب الصلاة
4  
The Book of Prayers
(48)
Chapter: Preventing One Who Wants To Pass In Front Of A Praying Person
(48)
باب مَنْعِ الْمَارِّ بَيْنَ يَدَىِ الْمُصَلِّي ‏
Sahih Muslim 506 a

'Abdullah b. 'Umar reported that the Messenger of Allah (ﷺ) said:

When any one of you prays, he should not allow anyone to pass before him, and if he refuses, he should be then forcibly resisted, for there is a devil with him.
حَدَّثَنِي هَارُونُ بْنُ عَبْدِ اللَّهِ، وَمُحَمَّدُ بْنُ رَافِعٍ، قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ إِسْمَاعِيلَ بْنِ أَبِي فُدَيْكٍ، عَنِ الضَّحَّاكِ بْنِ عُثْمَانَ، عَنْ صَدَقَةَ بْنِ يَسَارٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِذَا كَانَ أَحَدُكُمْ يُصَلِّي فَلاَ يَدَعْ أَحَدًا يَمُرُّ بَيْنَ يَدَيْهِ فَإِنْ أَبَى فَلْيُقَاتِلْهُ فَإِنَّ مَعَهُ الْقَرِينَ ‏"‏ ‏.‏
Reference : Sahih Muslim 506a
In-book reference : Book 4, Hadith 292
USC-MSA web (English) reference : Book 4, Hadith 1025
  (deprecated numbering scheme)