The momentum of an object is the product between mass and velocity, if the two bodies have different masses but same momentum, it means they have different velocity, the body with greater mass has greater velocity, hence, it has greater kinetic energy because this energy depends directly on the velocity.
Therefore, the answer is B.