"Stinkin' badges" is a paraphrase of a line of dialogue from the 1948 film The Treasure of the Sierra Madre.[1] That line was in turn derived from dialogue in the 1927 novel of the same name, which was the basis for the film.
In 2005, the full quote from the film was chosen as #36 on the American Film Institute list, AFI's 100 Years...100 Movie Quotes.[2] The shorter, better-known version of the quote was first[3] heard in the 1967 episode of the TV series The Monkees "It's a Nice Place to Visit". It was also included in the 1974 Mel Brooks film Blazing Saddles, and has since been included in many other films and television shows.