the invention relates to a process for the vapor phase alkylation of alkanes or aromatic hydrocarbons comprising adsorbing an alkene on a dry cation exchange resin in its hydrogen form and reacting said adsorbed alkene with at least one alkane or at least one aromatic hydrocarbon .