Malicious compliance
Malicious compliance (also known as malicious obedience) is the behavior of strictly following orders, laws, and rules to the letter, ignoring expectations that go without saying and the spirit of the requirement. This usually involves working no earlier or later than one has to and completing legally required safety checks even when they are perceived as unnecessary and usually ignored.