[Machine] The Messenger of Allah ﷺ prohibited Muzabana, which is selling the dates on the trees based on a specified weight. If the dates increase, it is for the seller, and if they decrease, it is for the buyer. Ibn 'Umar narrated that Zaid ibn Thabit informed him that the Messenger of Allah ﷺ permitted the sale of 'araaya (a type of dates) based on their ripe condition.
أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنِ الْمُزَابَنَةِ وَالْمُزَابَنَةُ أَنْ يُبَاعَ مَا فِي رُءُوسِ النَّخْلِ بِتَمْرٍ بِكَيْلٍ مُسَمًّى إِنْ زَادَ فَلِي وَإِنْ نَقَصَ فَعَلَيَّ قَالَ ابْنُ عُمَرَ حَدَّثَنِي زَيْدُ بْنُ ثَابِتٍ أَنَّ رَسُولَ اللهِ ﷺ رَخَّصَ فِي بَيْعِ الْعَرَايَا بِخَرْصِهَا