Sunan an-Nasa'i, Hadith 4631 ⓘ
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.
أَخْبَرَنَا مُحَمَّدُ بْنُ رَافِعٍ، قَالَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ، قَالَ حَدَّثَنَا مَعْمَرٌ، عَنْ أَيُّوبَ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ سَلَفٍ وَبَيْعٍ وَعَنْ شَرْطَيْنِ فِي بَيْعٍ وَاحِدٍ وَعَنْ بَيْعِ مَا لَيْسَ عِنْدَكَ وَعَنْ رِبْحِ مَا لَمْ يُضْمَنْ .
also referenced under: Book 44, Hadith 183 (In-Book) & Volume 5, Book 44, Hadith 4635 (DarusSalam)