English : Vol. 1, Book 5, Hadith 1246
Grading supplied with this record: Hasan (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لَعَنَ اللَّهُ الْعَقْرَبَ مَا تَدَعُ الْمُصَلِّيَ وَغَيْرَ الْمُصَلِّي اقْتُلُوهَا فِي الْحِلِّ وَالْحَرَمِ "
It was narrated that "Aishah said:
"The Prophet (ﷺ) was stung by a scorpion while he was performing prayer, and he said: "May Allah curse the scorpion, for it does not spare anyone, whether he is praying or not. Kill them whether you are in Ihram or not.'" In Al-Hill (outside the sacred precincts of Makkah) or Al-Haram (the sacred precincts or Makkah).
Full reference and source
English : Vol. 1, Book 5, Hadith 1246 Arabic : Book 5, Hadith 1304
View source on Sunnah.com (opens in a new tab)