It is implied that Jesus did not enter the actual temple. He entered the courtyard around the temple.