Reading a horse story, I came across this famous dog passage

“Is there any other point to which you would wish to draw my attention?”

“To the curious incident of the dog in the night-time.”

“The dog did nothing in the night-time.”

“That was the curious incident,” remarked Sherlock Holmes.

“Silver Blaze” a short story by Arthur Conan Doyle, collected in The Dick Francis Complete Treasury of Great Racing Stories.