The change of ownership of a ticket is subject to the policies of each transport company. It is usual for companies to offer to allow this type of exchange instead of giving a refund. What would need to be done, if applicable, is to present yourself at least 6 hours in advance to the terminal with the person to whom you will give the bus ticket. Both must carry their identity document or their passport to be a foreigner. In the office, the change will be made and a penalty may be paid (this also depends on the transport company). Finally, keep in mind that the new passage must have the same date as the original.