Yahya related to me from Malik from Ayyub ibn Musa from Mansur
ibn Abd ar-Rahman al-Hajabi from his mother that A'isha, umm al-
muminin, may Allah be pleased with her, was asked about a man who
devoted his property to the door of Kaba. She said, "Let him do
kaffara for it with the kaffara of the oath."
Malik said,
that someone who devoted all his property in the way of Allah, and
then broke his oath, should put a third of his property in the way of
Allah, as that was what the Messenger of Allah, may Allah bless him
and grant him peace, did in the case of Abu Lubaba.
Muwatta Malik Book 22, Hadith 19
I, al-Abbas, Fatimah and Zayd ibn Harithah gathered with the Prophet (ﷺ) and I said: Messenger of Allah, if you think to assign us our right (portion) in this fifth ( of the booty) as mentioned in the Book of Allah, and this I may divide during your lifetime so that no one may dispute me after you, then do it. He said: He did that. He said: I divided it during the lifetime of the Messenger of Allah (ﷺ). AbuBakr then assigned it to me. During the last days of the caliphate of Umar a good deal of property came to him and took out our portion. I said to him: We are well to do this year; but the Muslims are needy, so return it to them. He, therefore, returned it to them. No one called me after Umar. I met al-Abbas when I came out from Umar. He said: Ali, today you have deprived us of a thing that will never be returned to us. He was indeed a man of wisdom.
Sunan Abi Dawud Book 20, Hadith 57