It is related that al-Rashid swore by triple divorce that Zubayda would not spend the night in his dominion (mulk), and then he regretted it and was perplexed. He was told: here is a young man from the companions of Abu Hanifa from whom a way out may be hoped for. He summoned him and put it to him. He said: give learning its due. He said: how? He said: you are on the throne and I am on the ground. So a chair was set for him and he sat on it, and he said: she spends the night in the mosque, and no one has power over the mosque; the Exalted said: {and the mosques belong to God}. So al-Rashid appointed him chief judge.
I say: this too is not free of difficulty, because his oath concerned his mulk (with damma), not his milk (with kasra), and there is no doubt that endowments and properties fall under the hand of the ruler both linguistically and by custom. The stratagem should have been for him to depose himself and appoint someone else whom he could trust for that night, and then in the morning that person would depose himself and appoint him; or he could have divorced her once and then married her in the morning!
It is related that al-Rashid summoned him one night and said: a piece of jewellery of mine has been stolen, and I have suspected one of my private slave-girls, and I have sworn that if she does not tell me the truth I shall kill her. Abu Yusuf said: is there a way for me to see her? He said: yes. He called her in private and said to her: when the caliph asks you, 'did you steal the jewellery?', say: yes; and when he says 'bring it', say: I did not take it; do not add to this or take from it. She did so, and Abu Yusuf said: O Commander of the Faithful, she has told the truth either in the confession or in the denial. Al-Rashid's anger subsided, and he said: let a hundred thousand be carried to his house. It was said: the treasurer is absent. He said: he has freed us from killing tonight / 14b /, so do not delay his reward until tomorrow. I say: here too there is an evident objection; it would have been better for the ruler not to kill her that night and to free her or another as expiation for his oath. Moreover, his saying 'if she does not tell me the truth (in lam tasduqni)' may be from sidq (truthfulness) or from tasdiq (confirming), and each of them needs precision in verification; and God is the guardian of success.
It is related that Musa al-Hadi saw a slave-girl of surpassing beauty and bought her for a great sum, and wanted to dispense with the istibra'. The jurists said: istibra' is necessary, or manumission and marriage; and al-Hadi did not like marriage. Abu Yusuf was brought and said: the caliph marries her to one of his servants, then takes possession of her, then orders him to divorce her, and he divorces her after the caliph's taking possession and before consummation, so that no waiting period is incumbent on her. Al-Hadi was pleased with this and rewarded him with ten thousand dirhams.
He was asked about someone who said: his wealth is alms for the poor if he does such-and-such. He said: he hands his wealth over to someone he trusts, then does that thing, then takes his wealth back. Abu al-Yaqzan 'Ammar, his amanuensis (mustamli), said: the Messenger of God (God bless him and grant him peace) said: «God curse the Jews: fats were forbidden to them, so they sold them and consumed their price.» Abu Yusuf said: O fool, what has this to do with that? They used a stratagem concerning what God had forbidden, whereas we use a stratagem so as not to forbid what God has made lawful.
Al-Ghaznawi mentioned from Hilal that he knew by heart Qur'an commentary, hadith and the battle-days of the Arabs, and the least of his sciences was jurisprudence.
From 'Ali ibn al-Ja'd, that he said: knowledge will not give you part of itself until you give it all of yourself; and when you have given it all of yourself, you are, in its giving you a part, in uncertainty.
From Ibrahim, that he said: do not seek hadith through abundance of narration, lest you be accused of lying; nor wealth through alchemy, lest you go bankrupt.