It is narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings of Allah be upon him) was asked about the lizard, so he (peace be upon him) said: "I neither eat it nor do I declare it unlawful."
Hadith Referenceمسند الإمام الشافعي / كتاب الأطعمة والصيد والذبائح / 1510
It is narrated in a similar manner from the Prophet Muhammad (peace be upon him) through another chain from Ibn Umar (may Allah be pleased with them both).
Hadith Referenceمسند الإمام الشافعي / كتاب الأطعمة والصيد والذبائح / 1511
Hadith Takhrijاخرجه البخاري، الذبائح والصيد، باب الضب (5536) - ومسلم، الصيد والذبائح، باب اباحة الضب (1943)۔
It is narrated from Ibn Abbas and Khalid bin Mughira (may Allah be pleased with them) that both of them went with the Prophet Muhammad (peace be upon him) to the house of Maymunah (may Allah be pleased with her). A roasted lizard was brought before the Prophet (peace be upon him). When he reached out his hand towards it, the women present in the house said: "Tell the Messenger of Allah (peace be upon him) about the food you intend to serve him." Then they said to him: "O Messenger of Allah! This is a lizard." So the Messenger of Allah (peace be upon him) withdrew his hand. I asked: "Is it forbidden?" He (peace be upon him) replied: "No, it is not found in our land, so my nature does not incline towards it." Khalid (may Allah be pleased with him) said: "I pulled it towards myself and ate it while the Messenger of Allah (peace be upon him) was watching."
Hadith Referenceمسند الإمام الشافعي / كتاب الأطعمة والصيد والذبائح / 1512
Hadith Takhrijاخرجه البخاري، الذبائح، والصيد ، باب الضب (5537) ومسلم ، الصيد والذبائح، باب اباحة الضب (1946)۔