Sahih Muslim Book 19, Hadith Number 4353.

Chapter : The saying of the Prophet (may peace be upon him): “We (Prophets) do not have any heirs; what we leave behind is (to be given in) charity”.

It has been narrated on the authority of ‘Aisha that Fatima and ‘Abbas approached Abu Bakr, soliciting transfer of the legacy of the Messenger of Allah (may peace be upon him) to them. At that time, they were demanding his (Holy Prophet’s) lands at Fadak and his share from Khaibar. Abu Bakr said to them: I have heard from the Messenger of Allah (may peace be upon him). Then he quoted the hadith having nearly the same meaning as the one which has been narrated by Uqail on the authority of al-Zuhri (and which his gone before) except that in his version he said: Then ‘Ali stood up, extolled the merits of Abu Bakr mentioned his superiority, and his earlier acceptance of Islam. Then he walked to Abu Bakr and swore allegiance to him, (At this) people turned towards ‘Ali and said: you have done the right thing. And they became favourably inclined to ‘Ali after he had adopted the proper course of action.