idiom
go by the book
Meaning
to follow rules or procedures strictly
Example
The officer always **goes by the book** during inspections.