وكان أبو عبد الله الخشني عالما حافظا حدث عنه بالأندلس جماعة نبلاء: منهم أسلم بن عبد العزيز بن هاشم القاضي وأحمد بن خالد ومحمد بن قاسم بن محمد البياني وكان من المكثرين عنه محمد عبد الغني بن سعيد فقال محمد بن عبد السلام الخشني القرطبي صاحب تاريخ الأندلس، روى عن ابن وضاح فوهم من وجهين: أحدهما أنه جعله صاحب التاريخ والخشني الذي ألف التاريخ هو محمد بن حارث الخشني ولعله لما رأى التاريخ منسوبا إلى الخشني ظنه محمد بن عبد السلام وإنما هو محمد بن حارث، والوجه الآخر أنه قال روى عن ابن وضاح وهو وابن وضاح في طبقة واحدة والذي روى عن ابن وضاح هو محمد بن حارث وإنما كتب ذلك كله على ظنه أن الخشني هو محمد بن عبد السلام والله أعلم فإن كان عول فيما ظنه من ذلك على كتاب ابن يونس في إيراد ما أورده عن الخشني من وفات [أهل] تلك الناحية وذكرهم فظن أنه محمد بن عبد السلام لأنه الأشهر والأقدم زمانا فلو أمعن النظر وتتبع كتاب ابن يونس لوجد فيه أن محمد بن عبد السلام مات في سنة ست وثمانين ومائتين وأن ابن يونس قد حكى عن الخشني وفيات جماعة بعد الثلاثمائة وبعد العشر وثلاثمائة في باب السين وفي أبواب بعده فكان بين له أن هذا الخشني الذي يحكي عنه هذه التواريخ ليس محمد بن عبد السلام إذ لا يجوز أن "يحكى على وفاة من مات بعد موته بدهر" وإن كان [الشبهة وقعت من أجل أن ابن يونس يقول في ما يورده من ذلك ذكره الخشني ... ]
Abu ʿAbd Allah al-Khushani was a learned hafiz. A group of noble men transmitted from him in al-Andalus, among them Aslam ibn ʿAbd al-ʿAziz ibn Hashim the Qadi, Ahmad ibn Khalid, and Muhammad ibn Qasim ibn Muhammad al-Bayani, who was among those who transmitted much from him. Muhammad [?] ʿAbd al-Ghani ibn Saʿid said: "Muhammad ibn ʿAbd al-Salam al-Khushani al-Qurtubi, author of the History of al-Andalus; he transmitted from Ibn Waddah." He erred in two respects. One of them is that he made him the author of the History, whereas the Khushani who composed the History is Muhammad ibn Harith al-Khushani; perhaps when he saw the History attributed to al-Khushani he took him to be Muhammad ibn ʿAbd al-Salam, whereas it is only Muhammad ibn Harith. The other respect is that he said "he transmitted from Ibn Waddah", whereas he and Ibn Waddah are of one generation, and the one who transmitted from Ibn Waddah is Muhammad ibn Harith. He wrote all of that only on his assumption that al-Khushani was Muhammad ibn ʿAbd al-Salam, and God knows best. If, in what he assumed of this, he relied on the book of Ibn Yunus, in what it cites from al-Khushani about the deaths of [the people of] that region and his mention of them, and took him to be Muhammad ibn ʿAbd al-Salam because he is the better known and the earlier in time: had he looked closely and gone through the book of Ibn Yunus, he would have found in it that Muhammad ibn ʿAbd al-Salam died in the year 286, and that Ibn Yunus relates from al-Khushani the deaths of a group after 300 and after 310, in the chapter of Sin and in chapters after it; and it would have become clear to him that this Khushani from whom he relates these dates is not Muhammad ibn ʿAbd al-Salam, since it is not possible that "he should relate the death of one who died an age after his own death". And if [the confusion arose because Ibn Yunus says, in what he cites of that, "al-Khushani mentioned him" ... ]
[ ... ] في موضعين من كتابه في باب السين وفي باب النون فقال ذكره محمد بن حارث الخشني في كتابه فصح أن الكتاب له لا لمحمد بن عبد السلام ولم يذكر ابن يونس ولا غيره أن لمحمد بن عبد السلام تاريخا، والله الموفق للصواب.
[ ... ] in two places of his book, in the chapter of Sin and in the chapter of Nun, where he said: "Muhammad ibn Harith al-Khushani mentioned him in his book"; so it is established that the book is his, not Muhammad ibn ʿAbd al-Salam's. Neither Ibn Yunus nor anyone else mentioned that Muhammad ibn ʿAbd al-Salam had a History. And God grants success to what is right.