The Book of Zuhd and Softening of Hearts
Ṣaḥīḥ Muslim 7497
الْفَأْرَةُ مَسْخٌ وَآيَةُ ذَلِكَ أَنَّهُ يُوضَعُ بَيْنَ يَدَيْهَا لَبَنُ الْغَنَمِ فَتَشْرَبُهُ وَيُوضَعُ بَيْنَ يَدَيْهَا لَبَنُ الإِبِلِ فَلاَ تَذُوقُهُ
al-fa-rah maskhun wayah dhalika annah yūḍaʿu bayna yadayhā labanu al-ghanami fatashrabuhu wayūḍaʿu bayna yadayhā labanu al-ibili falā tadhūquhu
Transliteration generated from the Arabic vowel marks
The full narration
Abu Huraira reported that the rat (is the result of) metamorphosis (of a group of Bani Isra'il) and the proof of this is that when the milk of goat is placed before it, it drinks it, and when the milk of the camel is placed before it, it would not taste it at all. Ka'b said:Did you hear it from Allah's Messenger (ﷺ)? Thereupon he said: Has Torah been revealed to me?
Source
Ṣaḥīḥ Muslim · 7497