Sayyiduna Malik bin Aws (may Allah be pleased with him) says that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) sent for me, and I came to him during the day. I found him sitting on a bed without bedding, leaning on a pillow. He said to me: "O Malik! Some people of your tribe came to me, and I have ordered that something be given to them, so distribute it among them." I said: "I wish you had asked someone else to do this." Sayyiduna Umar (may Allah be pleased with him) said: "No, rather you take it." Meanwhile, his servant Yarfa' came and said: "Uthman bin Affan, Abd al-Rahman bin Awf, al-Zubayr and Sa'd (may Allah be pleased with them) are at the door asking permission; if you permit, shall I let them in?" He gave permission. When they had entered, Yarfa' came again and said: "Abbas and Ali (may Allah be pleased with them both) have also come." Sayyiduna Umar (may Allah be pleased with him) gave permission. Sayyiduna Abbas (may Allah be pleased with him) said: "O Commander of the Believers! Judge between me and this liar, sinner, deceiver and betrayer." Some of the people also said: "Yes, Commander of the Believers, judge between them." Sayyiduna Malik bin Aws (may Allah be pleased with him) said: It occurred to me that they were the ones who had sent Uthman and the others ahead. Sayyiduna Umar (may Allah be pleased with him) said: "I adjure you by Allah, by whose command the heavens and the earth stand: do you know that the Messenger of Allah (peace and blessings be upon him) said: 'We are not inherited from; whatever we leave is charity'?" They answered yes. Then he turned to Abbas and Ali (may Allah be pleased with them both) and said: "I adjure you both by Allah, by whose command the heavens and the earth stand: do you know that the Messenger of Allah (peace and blessings be upon him) said: 'We are not inherited from; whatever we leave is charity'?" Both said: "Yes." Sayyiduna Umar (may Allah be pleased with him) said: "Allah Almighty singled out the Messenger of Allah (peace and blessings be upon him) and did not single out anyone else. He said: 'What Allah restored to His Messenger from the people of the towns is for Allah, for the Messenger and for the near relatives' [Surah al-Hashr: 7]." I do not know whether he recited the verse before it or not. "So the Messenger of Allah (peace and blessings be upon him) divided the property of Banu al-Nadir among you; he did not prefer anyone over you, nor did anyone besides you take it. From the wealth that remained, the Messenger of Allah (peace and blessings be upon him) would take a year's provision for himself, and whatever was left over was treated like the rest of the wealth." Then he said to the Companions (may Allah be pleased with them): "I adjure you by Allah, by whose command the heavens and the earth stand: do you know this?" They said: "Yes." Then he adjured Sayyiduna Abbas and Sayyiduna Ali (may Allah be pleased with them both) as he had adjured the people: "Do you both know this?" They said: "Yes." Then he said: "When the Messenger of Allah (peace and blessings be upon him) passed away, Abu Bakr (may Allah be pleased with him) said: 'I am the guardian of the Messenger of Allah (peace and blessings be upon him).' Then you both came: you sought inheritance from your brother's son, and (this one sought) his wife's inheritance from her father. Abu Bakr (may Allah be pleased with him) said: 'The Messenger of Allah (peace and blessings be upon him) said: "We are not inherited from; whatever we leave is charity."' Yet you both considered him a liar, sinner, deceiver and betrayer, while Allah knows that he was truthful, righteous and a follower of the truth. Then Abu Bakr (may Allah be pleased with him) passed away, and I said: 'I am the guardian of the Messenger of Allah (peace and blessings be upon him) and of Abu Bakr.' Yet you both considered me a liar, sinner, deceiver and betrayer, while Allah knows that I am truthful, righteous, rightly guided and a follower of the truth. So I was in charge of it. Then you both came to me together, your matter being one, and you both said: 'Give it to us.' I said: 'I will give it on the condition that you are bound by a covenant with Allah to manage it just as the Messenger of Allah (peace and blessings be upon him) used to do.' So you took it." Sayyiduna Umar (may Allah be pleased with him) asked: "Is that so?" Both said: "Yes." "Then you have both come to me so that I may judge for you. By Allah! I will not give any judgment other than this until the Hour is established. If you are both unable (to manage it), then return it to me."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 12728