A young man from Quraysh passed in front of Abu Saeed Khudri while he was praying, so he pushed him back. The young man returned, and he pushed him back again, three times in all.When he finished his prayer, he said, "Nothing actually invalidates the prayer, but the Messenger of Allah ﷺ said, 'Repel whoever passes in front of you as much as you can, for he is a devil.'"
حدثنا مسدد حدثنا عبد الواحد بن زياد حدثنا مجالد
مر شاب من قريش بين يدي أبي سعيد الخدري وهو يصلي فدفعه ثم عاد فدفعه ثلاث مرات فلما انصرف قال إن الصلاة لا يقطعها شيء ولكن قال رسول الله ﷺ ادرءوا ما استطعتم فإنه شيطان
No references are available.
[Hasan]. Bayhaqi reported it, see the previous hadith.