It is narrated from Sayyiduna Jabir bin Abdullah al-Ansari (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) ruled concerning umra (a gift given for a lifetime) that it belongs to the one to whom it was given.
Sayyiduna Jabir (may Allah be pleased with him) narrated that Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) asked the Prophet (peace and blessings be upon him) about this saying of Allah Almighty: "Those who believed and were mindful (of Allah), for them are glad tidings in the life of this world and in the Hereafter." The Messenger of Allah (peace and blessings be upon him) said: "You have asked me about something that no one before you has asked me about." Then the Prophet (peace and blessings be upon him) said: "It refers to the good dream that a Muslim sees himself, or that is shown to someone else for him."
Imam Ahmad (may Allah have mercy on him) narrated this hadith from Waki', from Ali bin al-Mubarak, from Yahya bin Abi Kathir, from Abu Salamah, from Sayyiduna Ubadah (may Allah be pleased with him), and he did not mention Sayyiduna Jabir (may Allah be pleased with him) in it.
And Abu Ya'la al-Mawsili (may Allah have mercy on him) narrated it from Abu Khaythamah Zuhayr bin Harb, from Waki', in the same way.
And this hadith is more appropriately (classed) as the narration of Sayyiduna Jabir (may Allah be pleased with him) from the Prophet (peace and blessings be upon him); but al-Haytham al-Shashi (may Allah have mercy on him) narrated it in the "Musnad of Ubadah".