It was narrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ) commanded us to kill the two black ones (snakes and scorpions) while praying."