The Kongzi jiyu 孔子集語 "Collected sayings of Confucius" is a collection of sayings attributed to the philosopher Confucius. It is a supplement to the so-called "Confucian Analects" Lunyu 論語. It was compiled by the Southern Song period 南宋 (1127-1279) scholar Xue Ju 薛據 (dates not known). In the original version, each of the 20 juan "scrolls" corresponded to one chapter. The received version is arranged in 3 juan, but the text is complete. Xue Ju collected sayings of Confucius and dialogs between him and his scholars that were not included in the Lunyu. In his foreword, Xue Ju says that the did use all kinds of ancient books, except the Zengzi 曾子, Da Dai Liji 大戴禮記, Kongcongzi 孔叢子, Kongzi jiayu 孔子家語, Zuozhuan 左氏, Zhuangzi 莊子, Xunzi 荀子 and Liezi 列子, which is not correct, because the Kongzi jiyu does quote from some of those sources, as well as from the biography of Confucius in the history Shiji 史記. The arrangement of the quotations is not very good. He quotes, for example, from three very different paragraphs in the dictionary Shuowen jiezi 說文解字, and subsumes these heterogeneous statements under one paragraphs. Xue's collection is also by no means complete. He does not, for instance, refer to all quotations in the Hanfeizi 韓非子 or those in the Huainanzi 淮南子. Inspite of these shortcomings, the Kongzi jiyu contains a lot of fragements quoted in books, which have long since lost.
The oldest surviving print was made by the Ming period 明 (1368-1644) scholar Zhong Renjie 鍾仁傑. In 1737 it was printed by Kong Guangqi 孔廣啓, Duke Yansheng 衍聖公. It included in the collectaneaTang-Song congshu 唐宋叢書, Siku quanshu 四庫全書 and Zishu baizhong 子書百種. The best version is that of the Tianyige Library 天一閣.

Another compilation with the title Kongzi jiyu 孔子集語 was published by the Qing period 清 (1644-1911) scholar Sun Xingyan 孫星衍 in 1816. Older supplements to the "Sayings" were either lost (as Emperor Wu's 梁武帝 Kongzi zhengyan 孔子正言 from the Liang period or Wang Bo's 王勃 Ci lunyu 次論語), or incomplete, as Yang Jian's 楊簡 Xiansheng daxun 先聖大訓, Xue Ju's 薛據 Kongzi jiyu 孔子集語, Pan Shida's 潘士達 Lunyu waipian 論語外篇 or Cao Tingdong's 曹廷棟 Kongzi yiyu 孔子逸語. While the Kongzi jiyu collection by Xue Ju 薛據 mainly quoted from the subclassics Chunqiu fanlu 春秋繁露 and Hanshi waizhuan 韓詩外傳, Sun Xingyan and his collaborators Sun Xinghai 孫星海 and Gong Qing 龔慶 collected only quotations from Confucian classics and their commentaries, as well as from Confucian treatises, apocryphal classics, history books, the "Masters and philosophers", and encyclopaedias from the Tang 唐 (618-907) and Song 宋 (960-1279) periods. The book is 17 juan long and is divided into 17 chapters, each dealing with one aspect of Confucius' teachings. Inside the chapters, quotations are arranged hierarchically, beginning with the Classics. The structure of the book was inspired by Liu Xiang's 劉向 Shuoyuan 說苑 and Xinxu 新序. The last three chapters quote from Daoist philosophers and other "Masters".
Sun Xingyan's Kongzi jiyu is included in the collectaneaPingjinguan congshu 平津館叢書 and Ershierzi 二十二子, Baizi quanshu 百子全書 and Zishu ershiwu zhong 子書二十五種. In 1936 the collection was published as Kongzi jiyu jijie 孔子集语集解 by the Guangyi shuju 廣益書局 in Shanghai, and in 1989 by the Shanghai guji press 上海古籍出版 as a facsimile edition.