Not so ! Not only is that statement essentially false,
but it involves significant prevarication as well, too.
Mass is the measure of the quantity of matter in an object.
Volume is a measure of the quantity of space filled by the
object.
The same mass can have many different volumes, usually
depending on its temperature. Just consider one kilogram
of ice, water, and steam . . .