He bought a commodity for his friend and added to its price
I had a commodity which I bought for a certain sum of money. Then, one of my friends asked me about its price, but I told him a price that is more than the price I actually bought it for. He gave me the money to buy the same commodity for him. I took the money and bought it, then I took the rest of the money. Then, my friend died,
what should I do?
You should repent to Allah (Exalted be He), pay the extra money to the heirs of the deceased and ask them to forgive you.