Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:2:278

O you who have believed, fear Allah and give up what remains ˹due to you˺ of interest, if you should be believers.  

O you who believe, fear God, and give up, abandon, the usury that is outstanding, if you are believers, true to your faith, since it is expected of the believer that he adhere to God’s command: this was revealed when some of the Companions, after the prohibition, wanted to reclaim some of the usury from before.
القرآن:٢:٢٧٨

يَا أَيُّهَا الَّذِينَ آمَنُوا اتَّقُوا اللَّهَ وَذَرُوا مَا بَقِيَ مِنَ الرِّبَا إِنْ كُنْتُمْ مُؤْمِنِينَ  

{يا أيها الذين آمنوا اتقوا الله وذروا} اتركوا {ما بقي من الربا إن كنتم مؤمنين} صادقين في إيمانكم فإن من شأن المؤمن امتثال أمر الله تعالى، نزلت لما طالب بعض الصحابة بعد النهي بربا كان لهم من قبل.