Sahih Muslim
The Book on Salutations and Greetings (Kitab As-Salam)
Book Number: 026 / Hadith Number: 5569
Abu Huraira reported so many ahadith and one of them was this that Allah' Messenger (may peace be upon him) said: When an Apostle from amongst the Apostles of Allah came to sit under a tree an ant bit him. He commanded his luggage to be removed from under the tree and he commanded it to be burnt in the fire and Allah revealed to him:" Why one ant (which had bitten you) was not killed (and why did you burn the others)?