It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that a man asked the Noble Prophet (peace and blessings be upon him), while he was on the pulpit, about the lizard. The Noble Prophet (peace and blessings be upon him) said: "I neither eat it nor do I forbid it." And the Noble Prophet (peace and blessings be upon him) said: "Whoever eats from this tree (raw garlic), let him not come to the mosque."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 4619