And if it be stolen from him, he shall make restitution unto the owner thereof.
But if the animal was actually stolen from the neighbor, he must make restitution to the owner.
Read Exodus 22