Letter of the law

The literal interpretation or the words of a law but not necessarily the intent of those who wrote the law.

The lawyer always likes to follow the letter of the law.