What was narrated concerning killing snakes and scorpions during the Prayer Sunan Ibn Majah 1245

Arabic hadith text
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَمُحَمَّدُ بْنُ الصَّبَّاحِ، قَالاَ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ مَعْمَرٍ، عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ، عَنْ ضَمْضَمِ بْنِ جَوْسٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلمـ أَمَرَ بِقَتْلِ الأَسْوَدَيْنِ فِي الصَّلاَةِ الْعَقْرَبِ وَالْحَيَّةِ ‏.‏
Translation

It wasnarrated from Abu Hurairah that the Prophet (ﷺ) commandedkillingthe two black ones during prayer; the scorpion and the snake.