The Prefectural Chief of Guiyang Zhang Yi was from Jiangxia. His courtesy name was Shugao, and he resided in Yanling. Amid his fields there was a great tree, more than ten spans around, that shaded six mu (around 40 acres). Its branches and leaves were luxuriant, and no millet would grow beneath them. He sent a passing traveller to fell it, but after several swings of the axe the tree began to bleed profusely. The traveller was terrified, and returned to tell Shugao. Shugao told him, furiously: “Old trees sweat; what’s so strange about that?” He therefore went in person and hacked at it. A large amount of blood poured out. Shugao hacked at it again, and again, and opened up a hollow space within. A white-haired old man, four or five chi tall (1.3-1.6m), emerged suddenly and stepped towards Shugao. Shugao greeted him with a swing of his blade, and killed him. Four or five old men emerged in the same way, falling to the ground in fear and shock. Shugao carried on as before, quite unruffled. The various people looked on at these beings. Like people but not human, like beasts but not animals, could they be what is known as wood or stone devils, or Kui sprites? In the year he felled the tree, Shu-  -gao was appointed Censor to the Ministry of Works and Governor of Yanzhou.
From Fayuanzhulin. 
Li Fang 李昉, et al., Taiping guangji 太平廣記 (Extensive Gleanings from the Era of Great Harmony), 10 vols (Beijing: Zhonghua shuju, 1961), viii, 359.2840-41:
桂陽太守江夏張遺。字叔高。居𨻳〈居上原有隱字。據明鈔本刪。𨻳字原闕。據法苑珠林三一補。〉陵。田中有大樹。十圍餘。蓋六畝。枝葉扶疏。蟠地不生谷草。遣客斫之。斧數下。樹大血出。客驚怖。歸白叔高。叔高怒曰。老樹汗出。此等何怪。因自斫之。血大流出。叔高更斫之。又有一空處。白頭老翁長四五尺。突出趁〈趁原作稱。據法苑珠林三一改。〉叔高。叔高以刀迎斫。殺之。四五老翁並出。左右皆驚怖伏地。叔高神慮恬然如舊。諸人徐視之。似人非人。似獸非獸。此所謂木石之怪。夔魍魎者乎。其伐樹年中。叔  高辟司空御史兗州刺史。出法苑珠林。法苑珠林四二作出搜神記
 An editor’s note here states that the story is titled (and the character likewise named) Zhang Liao 張遼 in the Soushenji 搜神記.
 An editor’s note here states that the Fayuanzhulin reports that the story is taken from the Soushenji 搜神記.