I asked Ibn Umar about advance payment for dates on the palm. He replied, "The Messenger of Allah ﷺ forbade the sale of dates on the palm until they are fit for consumption, and he forbade the sale of silver for silver on deferred terms when one party has it in hand."I also asked Ibn Abbas about advance payment for dates on the palm. He replied, "The Prophet ﷺ forbade the sale of dates on the palm until they could be eaten, or until they could be weighed."
سألت ابن عمر- رضي الله عنهما- عن السلم في النخل، فقال: نهيي عن بيع النخل حتى يصلح، وعن بيع الورق نساء بناجز. وسألت ابن عباس عن السلم في النخل، فقال: نهي النبي ﷺ عن بيع النخل حتى يؤكل منه، أو يأكل منه حتى يوزن.
Bukhari narrated it in the chapter on salam (2247–2248), and Muslim in the chapter on sales (1537), both through the route of Shubah, from Amr, from Abu Bakhtari, who said what has been mentioned. The wording given is that of Bukhari, while in Muslim's version it says "about a sale" instead of "about salam."