Temperature is an intensive property of a material, which means, it is independent of the quantity (mass or volume) of material. That is to say, a substance will have the same temperature whether it has a mass of 10 gm or 10 kg. Thus, the given statement "the more mass a material has, the greater the temperature" is false.
Mass and temperature are related in other ways. A more massive substance will require a higher amount of heat, as compared to a lighter substance, for the same increase in temperature. In other words, a more massive material will exhibit lesser rise in temperature (as compared to a less massive material), when supplied with the same amount of heat. This relationship is given as:
Q = mc x change in temperature
where, Q is the heat supplied, m is the material's mass and c is its heat capacity (amount of heat required to raise the temperature of 1 unit mass by 1 degree Celsius).
Hope this helps.