All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
If you borrowed the money with Ribaa (interest and usury) because of being in a state of necessity for buying this car, then you are permitted to do so because necessities render forbidden matters permissible, as Allaah Says (what means): {… while He has explained in detail to you what He has forbidden you, excepting that to which you are compelled.}[Quran 6:119].
However, if you got this loan while you were not in a state of necessity, then you are sinful and you must repent to Allaah and not return to this again. Nonetheless, it is permissible for you to benefit from this car because once the loan is possessed by the person; it becomes a debt on him which he must repay; this applies to a loan with Ribaa or any other loan, but a person is sinful for getting a loan with Ribaa.
For more benefit, please refer to