You are likely asking about Poseidon, the Greek god of the sea. Poseidon is most commonly associated with the trident and with horses, as he is credited in myth with creating the first horses.
There is no widely known myth in which Poseidon gives away a specific animal. If you have a particular story or version in mind, providing more context may help clarify the reference.