the Messenger of Allah prohibited lending on the condition of a sale, or to have two conditions in one transaction, or to profit from what you do not posses.
Sunan an-Nasa'i Book 44, Hadith 181