The Messenger of Allah ﷺ forbade selling fruit for years in advance.
أخبرنا إسحق بن منصور قال حدثنا سفيان عن حميد الأعرج عن سليمان وهو ابن عتيق
أن رسول الله ﷺ نهى عن بيع السنين
No references are available.
[Sahih]. Mentioned previously, no. 4535, and it is in Al-Kubra, no. 6223.