Mass is a fundamental property of matter and is generally considered to be the same anywhere in the universe. According to the theory of general relativity, the presence of mass curves spacetime, affecting the motion of other objects. However, the strength of this curvature is proportional to the mass of the object, and the universe is vast and contains a wide range of objects with different masses.
Some theories in cosmology suggest that the mass of an object may be affected by the expansion of the universe or the presence of dark matter, but these effects are extremely small and have not been experimentally verified. Therefore, to the best of our current knowledge, mass is considered to be a constant and is the same anywhere in the observable universe.