Sunan an-Nasa'i, Book 44, Hadith 183 (Nasa'i 4641)

It was narrated from 'Amr bin Shu'aib, from his father, that his grandfather said:

"The Messenger of Allah forbade lending on the condition of a sale, selling what you do not have, and profiting on what you do not possess.