Abdullah bin Abbas reported,

When the Prophet ﷺ arrived in Madinah, the people were paying in advance for dates two and three years ahead. He said, "Whoever pays in advance for dates must do so for a known measure, a known weight, and a known term."

Ibn Majah 2280

Sahih

حدثنا هشام بن عمار حدثنا سفيان بن عيينة عن ابن أبي نجيح عن عبد الله بن كثير عن أبي المنهال

عن ابن عباس قال

قدم النبي ﷺ وهم يسلفون في التمر السنتين والثلاث فقال من أسلف في تمر فليسلف في كيل معلوم ووزن معلوم إلى أجل معلوم

ابن ماجه 2280صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
Advance payment for a known measure and known weight to a known term
Numbering
Darussalam 2280
Ibn Majah 2280