Abdullah bin Abbas reported,

When the Prophet ﷺ arrived in Medina, the people were paying in advance for fruits to be delivered two or three years later. He said, "Whoever pays in advance for fruits should do so for a known measure and a known term."Abdullah bin Walid reported, Sufyan narrated to us, Ibn Abu Najeeh narrated to us, and he said, "for a known measure and a known weight."

Bukhari 2253

Sahih

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

عن ابن عباس رضي الله عنهما قال

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

البخاري 2253صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Salam
Chapter
Salam until a known term
Numbering
Darussalam 2253
Bukhari 2253