Sayyiduna Abdullah bin al-Zubayr (may Allah be pleased with them both) narrates from the Prophet (peace and blessings be upon him) that he (peace and blessings be upon him) gave that boy the right of inheritance because he was born on the bed of Zam'ah, and he said to Sayyidah Sawdah (may Allah be pleased with her): "And as for you, observe hijab from him."
Imam Ahmad (may Allah have mercy on him) narrated it through Abd al-Razzaq from Sufyan, he from Mansur, he from Mujahid (may Allah have mercy on him), he from Sayyiduna Ibn al-Zubayr (may Allah be pleased with them both), and he did not mention Yusuf in it.
Likewise, Imam al-Tabarani (may Allah have mercy on him) also narrated it through al-Dabari from Abd al-Razzaq.
And Imam al-Nasa'i (may Allah have mercy on him) narrated it from Ishaq bin Ibrahim, he from Jarir, with the same chain, as Zuhayr narrated it.
It has a supporting narration (shahid) in the two Sahihs, in the hadith that Urwah (may Allah have mercy on him) narrated from the Mother of the Believers, Sayyidah Aishah (may Allah be pleased with her): "Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him) and Sayyiduna Abd bin Zam'ah (may Allah be pleased with him) disputed about the son of Zam'ah's slave woman, and Sa'd (may Allah be pleased with him) said: 'This is my brother's son; he entrusted him to me'" (to the end of the hadith).
Related hadith on this topic