Sahih al-Bukhari 2379
Abdullah bin Yusuf told us. Laith narrated to us that Ibn Shihab told me. He narrated from Salim bin Abdullah, Salim from his father (Hazrat Abdullah) (ra). He said: I heard the Messenger of Allah (saw). He (saw) used to say: “Whoever buys date-palms after they have been pollinated should remember that their fruit will belong to the seller, unless the buyer makes it a condition; and whoever buys a slave and it (the slave) has property, then his property too will belong to the person who sold him, unless the buyer makes it a condition.” And this hadith is also narrated from Malik. He from Nafi', Nafi' from Hazrat Ibn Umar (ra), Hazrat Ibn Umar (ra) from Hazrat Umar (ra). This hadith of theirs concerns only the slave.
AI-translated by Islam-Today
Book 17: To pass through a garden or to have a share in datepalms