My question involves criminal law for the state of: ONTARIO CANADA

Hi I bought a bike not knowing it was stolen from some guy off of Kjijiji (online classifieds). It turned out it didnt fit, so I posted to sell it and some other guy bought it. Turns out it didnt fit him either... so he posted it, and the cops found the ad arrested him and took the bike.
This guy is now calling me to get his money back..

what do I do? Other than the moral thing to do by giving or splitting the money, what legal advice could you give me?