When the mass of an object doubles while keeping the distance between it and another object constant, the gravitational force between the two objects also doubles.
According to Newton's law of universal gravitation, the gravitational force
where
If
Thus, the gravitational force between the two objects increases and doubles when the mass of one object is doubled, assuming the other mass and the distance between them remain constant.