One of the companions of Muhammad and Zufar. He has [particular] legal positions, among them the question of giving alms to a beggar in the mosque: he said: I do not accept the testimony of one who gives alms to him.
I say: I have a doubt about the two biographies being of one person; if I come upon what removes it, I will add it.
Salama said: If the knowledge of Khalaf were gathered together, it would be [only] in one corner of the knowledge of 'Ali al-Razi; but Khalaf ibn Ayyub made his knowledge manifest through his righteousness.
It is related that Khalaf distinguished between two questions, and the questioner was not satisfied with it, so he said: The distinction [is to be weighed] by the grain, not by the sack.
It was said to Khalaf ibn Ayyub: You are devoted to al-Hasan ibn Ziyad, yet he shortens the prayer. He said: Because he has mastered it — meaning he completes its bowing and its prostration — and in the report [it says]: The Messenger of God, may God bless him and grant him peace, was the lightest of them in prayer, with completeness.
Khalaf also studied law with Abu Yusuf, and took renunciation from Ibrahim ibn Adham and kept his company for a time. He transmitted from Asad ibn 'Amr al-Bajali, and heard hadith from Isra'il ibn Yunus and Jarir ibn 'Abd al-Hamid.
Ahmad, Yahya, and Ayyub ibn al-Hasan, the jurist, the ascetic, the Hanafi, transmitted from him.
Al-Hakim said: He came to Nisabur in the year two hundred and three, and our shaykhs wrote [hadith] from him.
Ibn Hibban mentioned him in al-Thiqat, and al-Mizzi mentioned him in al-Kamal and said: Abu 'Isa al-Tirmidhi transmitted from him a hadith from Abu Kurayb Muhammad ibn al-'Ala', and I do not know how it is.
[The author] said in al-Jawahir: The text of the hadith is: «Two traits are not found together in a hypocrite: good bearing, and understanding of religion».
[The author] said in al-Qunya: Khalaf ibn Ayyub rejected a witness because he was busy copying at the time of the call to prayer.
The hafiz al-Dhahabi mentioned this Khalaf ibn Ayyub in Tarikh al-Islam, extolled him and praised him.
He transmitted from al-Hakim in his Tarikh that he said: I heard Muhammad ibn 'Abd al-'Aziz the preacher [say]: I heard Muhammad ibn 'Ali al-Baykandi the ascetic say: I heard our shaykhs mention that the cause of the stability of the rule of the house of Saman was that Asad ibn Nuh, the grandfather of the Amir Isma'il, went out to al-Mu'tasim. He was brave and learned, and they marvelled at his handsomeness and his intelligence. Al-Mu'tasim said to him: Is there anyone in your family braver than you? He said: No. He said: Is there anyone in your family more intelligent and more learned than you? He said: No. That did not please the caliph.
Then after that he asked him the same, and he repeated his words, and said: Why did you not say to me: And why is that? He said: Woe to you, and why is that? He said: Because there is no one in my family besides me who has trodden the carpet of the Commander of the Faithful and seen his countenance. He found that good of him, and appointed him over Balkh, and he would deliver the sermon himself.
Then he asked about the scholars of Balkh, and they mentioned to him Khalaf ibn Ayyub, and described to him his knowledge and his renunciation. So he waited for the time of his coming to the Friday prayer, and rode to where he was; when he dismounted and approached him, Khalaf sat and covered his face. He said: Peace be upon you. He returned [the greeting] without raising his head. The Amir Asad raised his head to the sky and said: O God, if this righteous servant hates us for Your sake, then we love him for Your sake.
Then he rode on and passed. After that he was informed that Khalaf ibn Ayyub had fallen ill, so he visited him and said: Do you have any need? He said: Yes, my need is that you not visit me again, and if I die, do not pray over me while you are wearing black.
When he died, Asad attended his funeral on foot; then he took off the black and prayed over him. Then a voice was heard at night: Through your humility and your reverence for Khalaf, the dynasty has been made firm in your descendants.
Khalaf died in the year two hundred and five; and it is said: in the year two hundred and fifteen, and that is the most correct; and it is said: in the year two hundred and twenty. And God Most High knows best.
I saw in the hand of someone, on the margin of a copy of al-Jawahir al-mudiyya, attributed to the commentary of Shaykh Qawam al-Din al-Itqani, the following: Among [examples of] his renunciation — meaning Khalaf ibn Ayyub — [is] that he fell ill and Shaddad gave him a pomegranate, and he placed it by his head. He said to him: Where is this pomegranate from? He said: From a tree in my house. He said: With which water did you water it? He said: From a well in my street. He said: Is your house not in such-and-such a street? He said: Yes. He said: It is not lawful for me; you have no [right] in that canal except drinking, and you have no [right] to water the tree. So he returned it to him. End [of quotation]. And God Most High knows best.
Provisional: a word is not yet securely read; see the marks [?].