This transaction may take two forms:
1 – If the man buys this car for you in return for a wage which will be given to him for doing this job. So he is your agent acting on your behalf in making this purchase. In that case it is not permissible for him to take anything but the wage that you have agreed upon. Any reduction in the price of the car, or taxes that are refunded, or gifts given to the agent because of this transaction, should all be given to you (the one who appointed him) unless you willingly let him have anything of that, because any rights connected to this contract belong to the one who appoints the agent.
Ibn Qudaamah said: Ahmad said, according to one of the reports narrated from him: If a man is given a garment to sell, and he does that, and the purchaser gives him a handkerchief, then the handkerchief belongs to the (original) owner of the garment. He said that because the reason why the handkerchief was given was the sale, and the handkerchief was in addition to the price paid, so anything extra that is given when the transaction is made is connected to it.
End quote, from al-Mughni, 5/82.
2 – If the man buys the car, then sells it to you. In this case he may increase the price and add the tax to it, whether he gets it back or not. But it is not permissible for you to buy it from him until he has taken possession of the car in a real sense, because the Prophet (peace and blessings of Allaah be upon him) said to Hakeem ibn Hizaam: “If you buy something, then do not sell it until you have taken possession of it.” Narrated by Ahmad, 15399; al-Nasaa’i, 4613; classed as saheeh by al-Albaani in Saheeh al-Jaami’, 342.
Al-Daaraqutni and Abu Dawood (3499) narrated from Zayd ibn Thaabit that the Prophet (peace and blessings of Allaah be upon him) forbade selling products that had been bought until the merchants had put them with their own luggage.” This hadeeth was classed as hasan by al-Albaani in Saheeh Abi Dawood.
In al-Saheehayn it is narrated from Ibn ‘Abbaas that the Prophet (peace and blessings of Allaah be upon him) said: “Whoever buys food, let him not sell it until he obtains it.” Al-Bukhaari, 2132; Muslim, 1525. Muslim added: Ibn ‘Abbaas said: I think all other products are the same, i.e., there is no difference between food and other things in this regard.
And Allaah knows best.