Sunan an-Nasa'i, Book 44, Hadith 181 (Nasa'i 4639)
It was narrated from 'Amr bin shu'aib, from his father, from his grandfather, that:
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.