Dr. Mortimer obtained the manuscript from his patient, Mr. Johnathan Smith, who was also the owner of the Baskerville Hall estate.
It's important to note that Mr. Smith, upon finding the manuscript, considered it to be a source of great anxiety and even fear. He entrusted it to Dr. Mortimer, likely hoping for some explanation or relief from its unsettling contents.