The last verse revealed to the Prophet ﷺ was the verse on usury.
آخر آية نزلت على النبي ﷺ آية الربا.
Bukhari related it in the tafsir (4544), from Qabisa bin Uqba, who said, Sufyan narrated to us, from Asim, from Shaybi, from Ibn Abbas, and he mentioned it.His saying, "the verse of riba," means the verses of riba, from His statement, Most High, "Those who consume riba do not stand except as stands..." to His statement, "And fear a Day when you will be returned to Allah, then every soul will be repaid in full for what it has earned, and they will not be wronged" [Baqarah 2:275–281].With this, the saying of Ibn Abbas is set right, and the sayings of others should be understood in light of it. The chapters on riba are numerous, and I have tried to gather them in the book on the Prohibited Sales.