Hadith Q820

أَيْ فَإِنَّمَا هُوَ شَيْطَانٌ مَعَ الَّذِي يُرِيدُ الْمُرُورَ بَيْنَ يَدَيْهِ لَا أَنَّ الْمَارَّ مِنْ بَنِي آدَمَ شَيْطَانٌ، وَإِنْ كَانَ اسْمُ الشَّيْطَانِ قَدْ يَقَعُ عَلَى عُصَاةِ بَنِي آدَمَ. قَالَ اللَّهُ عَزَّ وَجَلَّ: (شَيَاطِينَ الْإِنْسِ وَالْجِنِّ يُوحِي بَعْضُهُمْ إِلَى بَعْضٍ زُخْرُفَ الْقَوْلِ غُرُورًا.)
The meaning of the Prophet (peace be upon him) is that with the one who passes in front of a person praying, there is a devil; it does not mean that the person passing is himself a devil, although the word "devil" is also used for disobedient humans. Allah Almighty says, « وَكَذَٰلِكَ جَعَلْنَا لِكُلِّ نَبِيٍّ عَدُوًّا شَيَاطِينَ الْإِنسِ وَالْجِنِّ يُوحِي بَعْضُهُمْ إِلَىٰ بَعْضٍ زُخْرُفَ الْقَوْلِ غُرُورً » [ سورة الأنعام : 112 ] "In this way, We have made for every prophet enemies—devils from among mankind and jinn—who inspire one another with decorative speech in delusion."
Hadith Reference صحيح ابن خزيمه / جماع أبواب سترة المصلي / Q820