S1E26 — The Inspector
The Andy Griffith Show — Season 1, Episode 26.

When a state inspector arrives in Mayberry to check the jail and courthouse, Andy and Barney are shocked to discover he's a by-the-book stickler for rules and regulations. Things look shaky until Andy is able to demonstrate the "Mayberry way" of fighting crime.
View all episodes of The Andy Griffith Show