وَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " نَزَلَ نَبِيٌّ مِنَ الْأَنْبِيَاءِ تَحْتَ شَجَرَةٍ ، فَلَدَغَتْهُ نَمْلَةٌ ، فَأَمَرَ بِجَهَازِهِ ، فَأُخْرِجَ مِنْ تَحْتِهَا ، وَأَمَرَ بِالنَّارِ ، فَأُحْرِقَتْ فِي النَّارِ ، قَالَ : فَأَوْحَى اللَّهُ إِلَيْهِ : فَهَلَّا نَمْلَةً وَاحِدَةً " .
And the Noble Prophet (peace and blessings be upon him) said: A prophet camped under a tree, and a certain ant bit him. He ordered his belongings to be moved from there and set fire to the entire ant colony. Allah sent revelation to him: Why did you not punish only the one ant? (Only one ant had bitten, not all of them.)