بسم الله الرحمن الرحيم
You can take the insurance policy which is legally mandatory on purchasing the vehicle, but if sometimes unfortunately the vehicle meets an accident then you may take only as much amount from your insurance policy as you have deposited in installments, but if you get more then since this addition is interest hence it shall not be lawful for you to use it in your personnel need rather it shall be wajib to give it to the poor and needy ones without the intention of reward.
Allah knows Best!
Darul Uloom Deoband
This answer was collected from the official ifta website of Darul Uloom Deoband in India.