Does a rider share the same space as its mount?
The rules regarding sharing the same space are clear:
Whether a creature is a friend or an enemy, you can't willingly end your move in its space
You'd think riding a creature would be an exception to a rule, but I can't find any mention of that in the mounted combat section.