Muwatta Malik, Book 32, Hadith 8 (USC-MSA)

Yahya said that Malik spoke about a man who made a qirad loan to a man and he bought wares with it and transported them to a commercial centre. It was not profitable to sell them and the agent feared a loss if he sold them, so he hired transport to take them to another city, and he sold them there and made a loss, and the cost of the hire was greater than the principal. Malik said, "If the agent can pay the cost of the hire from what the capital realized, his way is that. Whatever portion of the hire is not covered by the principal, the agent must pay it. The investor is not answerable for any of it. That is because the investor only ordered him to trade with the principal. The investor is not answerable for other than the principal. Had the investor been liable, it would have been an additional loss to him on top of the principal which he invested. The agent cannot put that on to the investor."

sunnah.com