The Messenger of Allah ﷺ permitted the sale of dates still on the tree in exchange for dried dates in quantities of less than five camel-loads, or something to that effect.Qutayba narrated to us from Malik, from Dawud bin Husayn, something similar.This hadith has also been reported from Malik that the Prophet ﷺ permitted the sale of dates still on the tree up to five camel-loads, or in quantities of less than five camel-loads.
حدثنا أبو كريب حدثنا زيد بن حباب عن مالك بن أنس عن داود بن حصين عن أبي سفيان مولى ابن أبي أحمد
أن رسول الله ﷺ رخص في بيع العرايا فيما دون خمسة أوسق أو كذا حدثنا قتيبة عن مالك عن داود بن حصين نحوه وروي هذا الحديث عن مالك أن النبي ﷺ أرخص في بيع العرايا في خمسة أوسق أو فيما دون خمسة أوسق
Agreed upon [by Bukhari and Muslim]. Bukhari narrated it in the Book of Sales, chapter on selling fruit while still on the palm trees for gold or silver, hadith no. 2190, and Muslim, hadith no. 1541, from the hadith of Malik through this same chain, and it is found in Muwatta, 2/620.