Sayyiduna Hakim bin Hizam (may Allah be pleased with him) said: "I used to buy food and sell it on, so the Prophet (peace and blessings be upon him) forbade me from selling what I do not have."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3119