It was narrated from Abu Hurairah that the Prophet ﷺ commanded killing the two black ones during prayer; the scorpion and the snake. (Using translation from Ibn Mājah 1245)
أَنَّ النَّبِيَّ ﷺ أَمَرَ بِقَتْلِ الْأَسْوَدَيْنِ فِي الصَّلَاةِ الْعَقْرَبِ وَالْحَيَّةِ