The Prophet ﷺ as saying: If anyone buys a slave who possesses property. his property belongs to the seller unless buyer makes a provision and if anyone buys palm-trees after they have been fecundated, the fruit belongs to the seller unless the buyer make a provision.
عَنِ النَّبِيِّ ﷺ قَالَ مَنْ بَاعَ عَبْدًا وَلَهُ مَالٌ فَمَالُهُ لِلْبَائِعِ إِلاَّ أَنْ يَشْتَرِطَهُ الْمُبْتَاعُ وَمَنْ بَاعَ نَخْلاً مُؤَبَّرًا فَالثَّمَرَةُ لِلْبَائِعِ إِلاَّ أَنْ يَشْتَرِطَ الْمُبْتَاعُ