I saw him in the market but he --- having been there.

Answer: 
denied
I saw him in the market but he --- having been there.