Messenger of Allah ﷺ said, "If somebody sells pollinated date palms, the fruits will be for the seller unless the buyer stipulates that they will be for himself (and the seller agrees). (Using translation from Bukhārī 2204)
أَنْ يَشْتَرِطَ الْمُبْتَاعُ قَضَى بِهِ رَسُولُ اللهِ ﷺ وَمَنْ بَاعَ نَخْلًا قَدْ أُبِّرَتْ فَثَمَرَتُهَا لِلْبَائِعِ إِلَّا أَنْ يَشْتَرِطَ الْمُبْتَاعُ