"My father told me, mar rating from his father, from his father (and he mentioned 'Abdullah bin 'Amr) that he said: "The Messenger of Allah said: "It is not permissible to lend on the condition of a sale, or to stipulate two conditions in one transaction, or to make a profit on that which you do not possess. (Using translation from Nasāʾī 4630)
قَالَ رَسُولُ اللهِ ﷺ «لَا يَحِلُّ سَلَفٌ وَبَيْعٌ وَلَا شَرْطَانِ فِي بَيْعٍ وَلَا رِبْحُ مَا لَمْ يُضْمَنْ»