Gems of Divine Mysteries describes stages on the journey of a spiritual wayfarer. It complements the Seven Valleys, and sets forth some of the doctrinal themes central to The Kitáb-i-Íqán (Book of Certitude). It was written in reply to a question from Siyyid Yúsuf-i-Sidihí Isfahání, a religious leader of the Shi'ahs in Najaf, who had asked how the promised Mahdi could have returned in a different human guise.