Salim bin Abdullah bin Umar narrates from his father (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) was asked about a mouse that fell into ghee, and he said: "Throw away the ghee around the mouse and eat the rest." It was said: O Prophet of Allah! What if the ghee is not solid? He said: "Benefit from it, but do not use it for eating."
Abd al-Jabbar bin Umar is not relied upon as evidence. It has also been narrated in this way from Ibn Jurayj, from Ibn Shihab, but the chain to him is not strong.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19625