Sharia reason for protection from insects

Protection from dangerous animals and insects

Abu Hurairah (may Allah be pleased with him) said that once a man came to the prophet (peace and blessings of Allah be upon him) and said: “O Messenger of Allah, what have I suffered from a scorpion that stung me yesterday!” In response, the Prophet (peace and blessings of Allaah be upon him) said: “ Indeed, if in the evening you said: “I resort to the protection of the perfect words of Allah from the evil of what He created ,” he would not harm you! “.
Muslim 2709.

بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ

A’uzu bikalimati-llahi ttammati min sharri ma halaq .

Sheikh ‘Abdur-Razzaq al-Badr (may Allah preserve him) said: “The words: ‘perfect words of Allah’ means that His words are absolutely perfect and completely devoid of flaws, regardless of whether they are meant by ‘words of Allah'”

His orders in the Universe, as referred to in the words of the Almighty (semantic translation): “When He desires something, then He should say: “Be!” – how it comes true” (36:82), or they mean His words in religious institutions, like the Noble Qur’an – “Verily, this is a mighty Scripture. Lies will not get to him either from the front or from behind. It is sent down from the Wise, the Praiseworthy” (41:41-42)

In any case, the words of Allah are perfect and there is no flaw in them in any respect.”
Sl. “Sharh Kitab at-Tawhid” lesson 13.