عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ نَزَلَ نَبِيٌّ مِنَ الْأَنْبِيَاءِ تَحْتَ شَجَرَةٍ فَلَدَغَتْهُ نَمْلَةٌ فَأَمَرَ بِجَهَازِهِ فَأُخْرِجَ مِنْ تَحْتِهَا ثُمَّ أَمَرَ بِهَا فَأُحْرِقَتْ بِالنَّارِ فَأَوْحَى اللَّهُ عَزَّ وَجَلَّ إِلَيْهِ فَهَلَّا نَمْلَةً وَاحِدَةً
It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: A prophet camped under a tree and an ant bit him, so he ordered that his belongings be moved from under that tree, then he ordered that the ants be burned. Thereupon Allah Almighty revealed to that prophet: Why did you not burn only the one ant?