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 your debt is delayed to an appointed time and its time has not yet come, or that your creditors allow delaying its repayments with their own consent, then in our view you should buy the car if this will please your parents and they will benefit from it in fulfilling their needs.
That is because it is desirable to hasten to repay the debt whose deadline has not yet come, and being kind to the parents and pleasing them is among the best good deeds. Moreover, if they order you to buy a car from which they will benefit, and it is possible for you to do so without being harmed, then this is likely to be an obligation on you and it is known that an obligation comes in priority over what is desirable.
Allaah Knows best.