In the story, the famous detective Sherlock Holmes is investigating the theft of a racehorse. A key piece of evidence is the fact that the horse's stable dog did not bark during the night of the theft. This unusual behavior leads Holmes to deduce that the dog recognized the thief.
The quote in the story is: ""The curious incident of the dog in the night-time", as the old hound said."