Which preposition to use with cockhorse

by Occurrences 1%

The second edition has it, my master hopes to ride a cockhorse by him before he leaves him.

with Occurrences 1%

Xenophon, in his Sympos. brings in Socrates as a principal actor, no man merrier than himself, and sometimes he would "ride a cockhorse with his children.

Which preposition to use with  cockhorse