Probably just a skink. Don't worry about it. They can't hurt your chickens. Im surprised your chickens don't eat him. I had a rooster that would catch them whenever he could.
What type of lizard was it? If it was your run of the mill skink or green lizard, then it's harmless to eggs and chickens. It was probably eating flies.