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:10036ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd > ʿUthmān b. ʿUmar > Musaddad > Ḥammād > Ayyūb > Nāfiʿ > Ibn ʿUmar

[Machine] A man asked the Prophet ﷺ , "What animals are considered harmful for a pilgrim to kill?" The Prophet ﷺ replied, "The mouse, the scorpion, the crow, the hedgehog, and the dog that is loose." I asked Nafi' about the snake, and he said, "There is no difference of opinion regarding the snake."  

البيهقي:١٠٠٣٦أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنا أَحْمَدُ بْنُ عُبَيْدٍ ثنا عُثْمَانُ بْنُ عُمَرَ ثنا مُسَدَّدٌ ثنا حَمَّادٌ عَنْ أَيُّوبَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَجُلًا سَأَلَ النَّبِيَّ ﷺ مَا يَقْتُلُ الْمُحْرِمُ مِنَ الدَّوَابِّ؟ قَالَ الْفَأْرَةُ وَالْعَقْرَبُ وَالْغُرَابُ وَالْحِدَأَةُ وَالْكَلْبُ الْعَقُورُ قُلْتُ لِنَافِعٍ الْحَيَّةُ قَالَ الْحَيَّةُ لَا يُخْتَلَفُ فِيهَا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي كَامِلٍ عَنْ حَمَّادٍ

See similar narrations below:

Collected by Abū Dāwūd, Aḥmad
abudawud:1846Aḥmad b. Ḥanbal > Sufyān b. ʿUyaynah > al-Zuhrī > Sālim

Ibn ‘Umar said The Prophet ﷺ was asked as to which of the creatures could be killed by a pilgrim in the sacred state. He said there are five creatures which it is not a sin for anyone to kill, outside or inside the sacred area. The Scorpion, the Crow, the Rat, the Kite and the biting Dog.  

أبو داود:١٨٤٦حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ عَنِ الزُّهْرِيِّ عَنْ سَالِمٍ

عَنْ أَبِيهِ سُئِلَ النَّبِيُّ ﷺ عَمَّا يَقْتُلُ الْمُحْرِمُ مِنَ الدَّوَابِّ فَقَالَ خَمْسٌ لاَ جُنَاحَ فِي قَتْلِهِنَّ عَلَى مَنْ قَتَلَهُنَّ فِي الْحِلِّ وَالْحَرَمِ الْعَقْرَبُ وَالْفَأْرَةُ وَالْحِدَأَةُ وَالْغُرَابُ وَالْكَلْبُ الْعَقُورُ  

ahmad:4543Sufyān > al-Zuhrī > Sālim from his father

Ibn ‘Umar said The Prophet ﷺ was asked as to which of the creatures could be killed by a pilgrim in the sacred state. He said there are five creatures which it is not a sin for anyone to kill, outside or inside the sacred area. The Scorpion, the Crow, the Rat, the Kite and the biting Dog. (Using translation from Abū Dāʾūd 1846)  

أحمد:٤٥٤٣حَدَّثَنَا سُفْيَانُ عَنِ الزُّهْرِيِّ عَنْ سَالِمٍ عَنْ أَبِيهِ قَالَ

سُئِلَ النَّبِيُّ ﷺ عَمَّا يَقْتُلُ الْمُحْرِمُ مِنَ الدَّوَابِّ؟ قَالَ خَمْسٌ لَا جُنَاحَ فِي قَتْلِهِنَّ عَلَى مَنْ قَتَلَهُنَّ فِي الْحَرَمِ الْعَقْرَبُ وَالْفَأْرَةُ وَالْغُرَابُ وَالْحِدَأَةُ وَالْكَلْبُ الْعَقُورُ