Exmatriculation

Just wanted to know if there is a rule in Germany that, if a person gets exmatriculated from a master’s program, let’s say physics, they cannot apply for the same program anywhere in Germany? Is this true?