Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) said: "Do not kill frogs, for their croaking is glorification (of Allah); and do not kill the bat, for when Bayt al-Maqdis was destroyed it said: 'O my Lord, give me power over the sea so that I may drown them.'" These two reports concerning the bat are mawquf (stopping at the Companions), and their chains are sahih (authentic). So whatever the Prophet (peace and blessings be upon him) ordered to be killed outside the sanctuary and inside it is unlawful to eat, because if it were lawful, he would not have ordered it to be killed in the sanctuary or in the state of ihram, when Allah Almighty has forbidden killing game in ihram. And whatever the Prophet (peace and blessings be upon him) forbade killing is also unlawful to eat, because if it were lawful, he would have ordered it to be slaughtered and would not have forbidden killing it, just as he did not forbid killing what is lawful to slaughter and eat. And Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19382