The Fayan 法言, often called Yangzi fayan 揚子法言 "Model words by Master Yang", is a philosophical treatise written by the mid-Han period 漢 (206 BCE-220 CE) scholar Yang Xiong 揚雄. It is 13 chapters long and imitates the structure of the "Confucian Analects" Lunyu 論語. The Fayan is mainly oriented towards Confucianism. It stresses the importance of the Classics for the cognition of the nature of the "way" (dao 道). Daoism, on the other side, neglects the social prominence of ritual and etiquette. Yang Xiong reproaches Zhuangzi 莊子 and the individualist Yang Zhu 楊朱 for their social irresponsibility, he criticizes Mozi 墨子 and Yanzi 晏子 for the simplicity of their social concepts, and the legalists for their impotence of transforming society into a better stage. He nevertheless accepts the self-sufficiency and modesty brought forward by the Daoists and by the Yin-Yang thinkerZou Yan 鄒衍.
The Fayan focuses on the attaiment of knowledge and studies as an important method of perfecting the self and society. Inspite of his clear Confucian attitude, Yang Xiong interpretes the human nature as a mixture of both good and bad. His critique of superstitious beliefs might have made him a pioneer of the later rationalists Huan Tan 桓譚 (Xinlun 新論) and Wang Chong 王充 (Lunheng 論衡) at the end of the Later Han period 後漢 (25-220) .
There are several commentaries to the Fayan, namely Liu Gui's 李軌 Yangzi fayan zhu 揚子法言注 from the Jin period 晉 (265-420)
, Sima Guang's 司馬光 Fayan jizhu 法言集注 from the Northern Song period 北宋 (960-1126), and Wang Rongbao's 汪榮寶 Fayan yishu 法言義疏 from the Qing period 清 (1644-1911).