The best way is that your friend discuss this situation with the bank management, he could transfer the car loan to somebody ( if anyone is willing to purchase the car. Also if he comes back to qatar and then leave officially then there maybe some problem for him while exiting the country next time.