The sale is part of the Spanish company's shift towards low-carbon businesses, for which it plans to invest up 8 billion euros by the end of the decade.
The sale of the unit, which offers products such as butane and propane, follows other recent divestments including those of upstream assets in Peru, Colombia and Abu Dhabi.
As part of the deal, Gasib will keep selling the products in Iberia under the Cepsa brand.
Banco Santander was sole M&A financial advisor to the buyer, while BNP Paribas advised Cepsa, a source said.