The phrase “the curious incident of the dog in the night‑time” comes from Arthur Conan Doyle’s 1892 Sherlock Holmes short story “Silver Blaze,” not a novel.
In the story, Holmes notes the stable dog did not bark during a racehorse theft, deducing the dog knew the thief. The line appears as: “The curious incident of the dog in the night‑time,” as the old hound said.