It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that once someone asked the Holy Prophet (peace and blessings be upon him) about the ruling if a mouse dies in ghee. The Holy Prophet (peace and blessings be upon him) said: If the ghee is solid, then remove the part (where the mouse has fallen) and the ghee around it, and then use the remaining ghee. But if the ghee is in liquid form, then do not use it.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7177
Hadith Gradingحکم دارالسلام:متن الحديث صحيح، معمر قد أخطأ فى إسناده، فقد خالفه أصحاب الزهري انظر : خ: 5538، وأخطأ فى متنه أيضا. فزاد : وإن كان مائعا فلا تأكلوه