Sunan Abi Dawud, Book 23, Hadith 43 (Abu Dawud 3369)
Narrated Ibn 'Umar:
The Messenger of Allah (ﷺ) forbade selling palm-trees till the dates began to ripen, and ears of corn till they were white and were safe from blight, forbidding it both to the buyer and to the seller.