Messenger of Allah ﷺ was asked regarding ghee (cooking butter) in which a mouse had fallen. He said, "Take out the mouse and throw away the ghee around it and use the rest."
أَنَّ رَسُولَ اللَّهِ ﷺ سُئِلَ عَنْ فَأْرَةٍ سَقَطَتْ فِي سَمْنٍ فَقَالَ أَلْقُوهَا وَمَا حَوْلَهَا فَاطْرَحُوهُ وَكُلُوا سَمْنَكُمْ