From The Arthur Conan Doyle Encyclopedia

Khwāja Shams-ud-Dīn Muḥammad Ḥāfeẓ-e Shīrāzī (1325/26–1389/90), known by his pen name Hafez was a Persian poet who lauded the joys of love and wine but also targeted religious hypocrisy.

In Conan Doyle stories

  • The Mystery of Cloomber (1888) : John Hunter West was a well known Oriental and Sanskrit scholar. He it was who first after Sir William Jones called attention to the great value of early Persian literature, and his translations from the Hafiz and from Ferideddin Atar have earned the warmest commendations from the Baron von Hammer-Purgstall, of Vienna, and other distinguished Continental critics.
  • [SH] A Case of Identity (1891) : Sherlock Holmes quoted Hafiz : « There is danger for him who taketh the tiger cub, and danger also for whoso snatches a delusion from a woman », and that there is as much sense in Hafiz as in Horace, and as much knowledge of the world. (383)