One of the last verses to be revealed was the verse on riba, and when the Messenger of Allah ﷺ died, he had not explained it. So avoid riba and any dubious matter.
إِنَّ مِنْ آخِرِ مَا نزِلَ آيَةُ الرِّبَا وَإِنَّ رَسُولَ اللهِ ﷺ تُوُفِّيَوَلَمْ يُفَسِّرْهَا فَدَعُوا الرِّبَا وَالرِّيبَةَ