Wu Tao was from Runan. He had skill and knowledge of ancient writings and was committed to the arts of the Way. While travelling he stopped temporarily at the Yiwu County guesthouse in Wuzhou. After more than a month, suddenly a girl appeared, with two serving maids arriving at night. One of the maids came forward and told him: “This young lady is surnamed Wang.” That evening she turned and looked at the gentleman. Tao looked at her, and she was extremely beautiful. He thought, ‘this is the daughter of a great noble’, but did not dare speak. The lady Wang smiled, and said: “The esteemed scholar does not value wine or beauty; how can a mere concubine gain his trust?” Tao then rose and bowed to her, saying: “Such lowly scholars would not dare direct their gaze thus.” The lady Wang ordered a maid to bring her clothing and utensils to Tao’s bedchamber, lighting bright candles and laying out wine and food. They drank several rounds, and then lady Wang rose and addressed Tao: “Your servant is a young orphan without anyone to turn to, and would like to serve the gentleman at his pillow and mat. Would that be acceptable?” Tao initially refused in his humility, but then relented and permitted it in his sincerity. The lady Wang departed at dawn and arrived at dusk, and this continued for several months.
Yang Jingxiao, a Daoist of Tao’s acquaintance, visited and stayed at the residence. On seeing that Tao’s countenance had altered, he advised: “The gentleman has been deluded by spirits and demons. This must be broken off, or death will follow.” Tao questioned him about this in alarm, and then related the whole story. Jingxiao told him: “This is a spirit.” He then provided two amulets, one to attach to clothing, and the other to be fixed above the gate. He said: “When this spirit arrives, she will become very angry. Be careful not to speak to her.” Tao accepted these instructions. When the young woman arrived that night, she saw the token above the gate, let fly a string of curses, and departed, saying: “Remove that tomorrow, or suffer great misfortune.” Tao called on Jingxiao the next day and told him all about it. Jingxiao told him: “When she returns tonight, you should sprinkle her with this water on which I have cast a spell. That will surely bring things to an end.” Tao returned carrying the water. That night, when the woman returned, she was extremely sad and angry. Tao then sprinkled her with the water Jingxiao had treated. Her visits then ceased.
 With thanks to Ofer Waldman for the improved translation here.
Li Fang 李昉, et al., Taiping guangji 太平廣記 (Extensive Gleanings from the Era of Great Harmony), 10 vols (Beijing: Zhonghua shuju, 1961), vii, 347.2747: