عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا وَقَعَتِ الْفَأْرَةُ فِي السَّمْنِ فَإِنْ كَانَ جَامِدًا فَأَلْقُوهَا وَمَا حَوْلَهَا وَإِنْ كَانَ مَائِعًا فَلَا تَقْرَبُوهُ» . رَوَاهُ أَحْمد وَأَبُو دَاوُد وَرَوَاهُ الدَّارمِيّ عَن ابْن عَبَّاس
Translation

Salman said the Prophet was asked about locusts and replied, "They are the most numerous of God’s hosts. I neither eat them nor declare them unlawful."Abu Dawud transmitted it, but Muhyi as-Sunna said it is weak.