Sahih Muslim, Book 21, Hadith 38 (Muslim 3801)

Ibn Abbas (Allah be pleased with them) reported Allah's Messenger (ﷺ) as saying:

He who buys food-rain should not sell it until he has taken possession of it. Ibn Abbas (Allah be pleased with them) said: I regard everything like food (so far as this principle is concerned).