Sunan Abi Dawud Book 28, Hadith 60
We were in an army with the Messenger of Allah (ﷺ). We got some lizards. I roasted one lizard and brought it to the Messenger of Allah (ﷺ) and placed it before him. He took a stick and counted its fingers. He then said: A group from the children of Isra'il was transformed into an animal of the land, and I do not know which animal it was. He did not eat it nor did he forbid (its eating).
It is a lizard. The Messenger of Allah (ﷺ) raised his hand. I (Khalid) asked: Is it forbidden, Messenger of Allah? He replied, No, but it is not found in the land of my people, so I find it distasteful. Khalid said: I then pulled it and ate it while The Messenger of Allah (ﷺ) was seeing.
The Messenger of Allah (ﷺ) forbade to eat the flesh of lizard.