Zakah is to be paid on the assets

Q: Three persons have entered into a partnership in a business project. These people are as follows: a store owner with his private property, an employee at the store, a third partner who shares with his money only, knowing that the sums of the three shares are equal. These three have agreed to acquire the profit as follows: 45% for the store owner, 35% for the employee working in the shop, and 20% for the third person. Afterwards, the partners thought that such contract is Haram (Prohibited), and they are very confused now, given that they have been receiving the profits for (Part No. 14; Page No. 329) a year since the establishment of this partnership. If this act is Haram, what is the ruling on the profits they received during the year?

A: If the reality is as mentioned, that one is the owner of the store, the second is working in it and the third is sharing with his money only, and they have agreed by their full consent on the distribution of the profit - as mentioned in the question - there is no prohibition or problem in this partnership. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.