Sunan Abi Dawud, Book 43, Hadith 493 (Abu Dawud 5267)

Abu hurairah reported the prophet (peace be upon him) as saying :

A prophet got down beneath a tree and he was stung by an ant. He ordered regarding the baggage and it was removed from beneath it. He then ordered regarding it and it was burnt. Allah then revealed to him : why not (just) one ant?