The statement describes the Zeroth Law of Thermodynamics. This law defines the concept of temperature. If system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with system C, then A and B are in thermal equilibrium with each other. This means they are at the same temperature.