[Machine] The Messenger of Allah (pbuh) commanded us to kill the dogs, so the people said, "O Messenger of Allah, what is permissible for us from this nation that you have commanded us to kill?" So Allah revealed, "They ask you, [O Muhammad], what has been made lawful for them. Say, 'Lawful for you are [all] good foods and [game caught by] what you have trained of hunting animals which you train as Allah has taught you.'" [Surah Al-Ma'idah: 4]
أَمَرَنَا رَسُولُ اللَّهِ ﷺ بِقَتْلِ الْكِلَابِ فَقَالَ النَّاسُ يَا رَسُولَ اللَّهِ مَا أُحِلَّ لَنَا مِنْ هَذِهِ الْأُمَّةِ الَّتِي أَمَرْتَ بِقَتْلِهَا؟ فَأَنْزَلَ اللَّهُ {يَسْأَلُونَكَ مَاذَا أُحِلَّ لَهُمْ قُلْ أُحِلَّ لَكُمُ الطَّيِّبَاتُ وَمَا عَلَّمْتُمْ مِنَ الْجَوَارِحِ مُكَلِّبِينَ} [المائدة 4]