Iyas bin Mu'awiyah (may Allah have mercy on him) said that the working partner will be liable, and the profit will be divided between them.