Abdullah bin Umar reported,

The Prophet ﷺ said, "All flying insects are in the Fire except the bee." He used to forbid killing them, and he also forbade the burning of food.Sufyan remarked, "It seems that the burning of food refers to doing so in enemy territory."

Azami 14820

Sahih

عن ابن عمر

عن النبي ﷺ قال: الذباب كله في النار إلا النحلة وكان ينهى عن قتلهن، وعن إحراق الطعام. قال سفيان: يشبه أن يكون إحراق الطعام في أرض العدو.

الأعظمي 14820صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Kindness to animals
Section
Animals that are forbidden to kill
Numbering
Jami al-Kamil 14820 (2nd edition)
Azami 14820