وَعَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ قَالَ: بَيْنَا رَسُولُ اللَّهِ ﷺ ذَاتَ لَيْلَةٍ يُصَلِّي، فَوَضَعَ يَدَهُ عَلَى الْأَرْضِ، فَلَدَغَتْهُ عَقْرَبٌ، فَتَنَاوَلَهَا رَسُولُ اللَّهِ ﷺ بِنَعْلِهِ، فَقَتَلَهَا. فَلَمَّا انْصَرَفَ، قَالَ: «لَعَنَ اللَّهُ الْعَقْرَبَ، مَا تَدَعُ مُصَلِّيًا وَلَا غَيْرَهُ»، أَوْ (قَالَ): «نَبِيًّا وَغَيْرَهُ».
Translation: ʿAli related that one night the Messenger of Allah ﷺ was praying. He placed his hand on the ground, and a scorpion stung him. He struck it with his sandal and killed it. After finishing the prayer, he said that the scorpion does not spare one who prays or anyone else. The report also preserves an alternative wording, “a prophet or anyone else.”
This is a particular incident involving immediate protection from a harmful animal. The expression “or he said” preserves a wording alternative in the narration without changing the central event.