Answer: Eliminating mosquitoes with an insect killer is prohibited and forbidden, because the mosquito sticks to it and burns, and it is not permissible to burn any living creature.
➊ Sayyiduna Hamzah al-Aslami (may Allah be pleased with him) narrates that the Prophet ﷺ said:
فإنه لا يعذب بالنار إلا رب النار
“None can punish with fire except Allah.”
Hafiz Ibn Hajar (may Allah have mercy on him) declared its chain “sahih” (authentic).
Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates that the Messenger of Allah ﷺ said:
إن النار لا يعذب بها إلا الله .
“None can punish with fire except Allah.”
Sayyiduna Abdullah ibn Abbas (may Allah be pleased with him) narrates that the Messenger of Allah ﷺ said:
لا تعذبوا بعذاب الله
“Do not burn anyone with fire.”
It is established that eliminating mosquitoes, flies, insects and the like by burning is not permissible; it is prohibited and forbidden.