Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:3448Abū al-Ḥusayn b. Bishrān al-ʿAdl> Abū al-Ḥasan ʿAlī b. Muḥammad al-Miṣrī > Miqdām b. Dāwud > al-ʿAbbās b. Ṭālib > ʿAbd al-Wārith b. Saʿīd > Yūnus b. ʿUbayd > Ḥumayd b. Hilāl al-ʿAdawī > Abū Ṣāliḥ from my father

[Machine] Abu Sa'id Al-Khudri used to pray, and a man from the family of Abu Mu'ayt passed by and he prevented him. But the man refused to stop, so Abu Sa'id threw him away. Marwan was the governor of Madinah at that time, so the man complained to him about what happened. Marwan mentioned this incident to Abu Sa'id, who said, "The Messenger of Allah ﷺ said, 'If something passes in front of one of you while he is praying, let him prevent it. And if it insists, let him fight it, for it is only a Shaytan (devil).' And I had forbidden him, but he refused to stop."  

البيهقي:٣٤٤٨وَأَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ الْعَدْلُ بِبَغْدَادَ أنبأ أَبُو الْحَسَنِ عَلِيُّ بْنُ مُحَمَّدٍ الْمِصْرِيُّ ثنا مِقْدَامُ بْنُ دَاوُدَ ثنا الْعَبَّاسُ بْنُ طَالِبٍ ثنا عَبْدُ الْوَارِثِ بْنُ سَعِيدٍ ثنا يُونُسُ بْنُ عُبَيْدٍ عَنْ حُمَيْدِ بْنِ هِلَالٍ الْعَدَوِيِّ عَنْ أَبِي صَالِحٍ

أَنَّ أَبَا سَعِيدٍ الْخُدْرِيَّ ؓ كَانَ يُصَلِّي فَمَرَّ رَجُلٌ مِنْ آلِ أَبِي مُعَيْطٍ فَمَنَعَهُ فَأَبَى أَنْ يَنْتَهِيَ فَنَبَذَهُ فَأَبَى فَدَفَعَ فِي صَدْرِهِ وَمَرْوَانُ يَوْمَئِذٍ أَمِيرٌ عَلَى الْمَدِينَةِ فَشَكَا ذَلِكَ إِلَيْهِ فَذَكَرَ ذَلِكَ مَرْوَانُ لِأَبِي سَعِيدٍ فَقَالَ أَبُو سَعِيدٍ قَالَ رَسُولُ اللهِ ﷺ إِذَا مَرَّ بَيْنَ يَدَيْ أَحَدِكُمْ شَيْءٌ وَهُوَ يُصَلِّي فَلْيَمْنَعْهُ فَإِنْ أَبِي فَلْيُقَاتِلْهُ فَإِنَّمَا هُوَ شَيْطَانٌ وَإِنِّي قَدْ كُنْتُ نَهَيْتُهُ فَأَبَى أَنْ يَنْتَهِيَ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي مَعْمَرٍ عَنْ عَبْدِ الْوَارِثِ عَلَى لَفْظِ حَدِيثِ سُلَيْمَانَ بْنِ الْمُغِيرَةِ مَضْمُومًا إِلَى ذَلِكَ الْإِسْنَادِ وَذَلِكَ مِنْهُ تَجَوُّزٌ إِلَّا أَنَّهُ رَحِمَهُ اللهُ أَفْرَدَهُ بِالذِّكْرِ عَلَى لَفْظِهِ فِي كِتَابِ بَدْءِ الْخَلْقِ