Chaoye Qianzai 朝野僉載 by Zhang Zhuo 張鷟 (?658-730):
郝公景於泰山採藥,經市過。有見鬼者,怪群鬼見公景皆走避之。遂取藥和為「殺鬼丸」,有病患者服之差。
Hao Gongjing was collecting medicines on Mount Tai and passed by the market. Someone who saw spirits was shocked at how the flock of spirits would see Gongjing and all run away from him. After getting his medicine he mixed a “spirit slaughtering pill”. Any ill person who took it recovered.