The Messenger of Allah ﷺ said, "A prophet from among the prophets stopped to rest beneath a tree, and an ant bit him. He ordered his belongings to be removed from under it, then commanded that the tree be set ablaze. So Allah revealed to him, 'Why not just a single ant?'"
حدثنا يزيد قال أخبرنا محمد عن أبي الزناد عن الأعرج
قال رسول الله ﷺ نزل نبي من الأنبياء تحت شجرة فلدغته نملة فأمر بجهازه فأخرج من تحتها ثم أمر بها فأحرقت بالنار فأوحى الله عز وجل إليه فهلا نملة واحدة