All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad,
, is His slave and Messenger.
In principle, what is in one's possession is owned by them, so there is no harm on you at all in accepting this gift. There is no need to have bad assumptions and assume that this bicycle might be stolen. You should praise Allah for His blessing on you and benefit from that gift in the obedience to Allah. Ignore Waswaas (obsessive doubts) and illusions and give them no attention at all, as getting carried away with them leads to a great evil.
Allah knows best.