Amr bin Shu'ayb narrates from his father, from his grandfather (Sayyiduna Abdullah bin Amr, may Allah be pleased with them both), that the Prophet (peace and blessings be upon him) sent Sayyiduna Attab bin Asid (may Allah be pleased with him) and forbade him "two conditions in one sale, a loan and a sale, selling what you do not have, and profiting from something for whose loss responsibility has not been taken."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10683