Abu Hurairah reported,

The Messenger of Allah ﷺ said, "One of the prophets stopped to rest under a tree, and an ant bit him. He ordered his belongings to be removed from beneath it, then commanded that the ant's nest be burned with fire. Allah revealed to him, 'Why not just a single ant?'"

Azami 14818

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: نزل نبي من الأنبياء تحت شجرة، فلدغته نملة، فأمر بجهازه فأخرج من تحتها، ثم أمر ببيتها فأحرق بالنار، فأوحى الله إليه: فهلا نملة واحدة.

الأعظمي 14818صحيح
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 14818 (2nd edition)
Azami 14818