All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad,
, is His slave and Messenger.
Establishing a business partnership is a permissible contract according to the view of the majority of the scholars and it is not considered among the obligatory contracts.
The author of Tuhfatul Habeeb, who is a Shaafi'i scholar wrote: "Each of the contracting parties can nullify the contract of partnership whenever he wishes, even just after the start of business as it is a permissible contract. This means that it is permissible for each partner to end the partnership at any time."
So, if the partners want to end the partnership, this should be after carrying an inventory about the money and assets of the company, and paying the debts that are due on the company and obtain the debts that other people or businesses owe to this company. Thereupon, the remaining money and assets should be divided among the partners according to their shares in the company. Both parties should face any loss that might occur, each according to his share.
However, if one partner wants to assume the loss of his other partner as a voluntary act and an act of kindness, then this is permissible. According to the question, we find that the partner (second party) offered as a gift whatever he deserved from the money of the company to his partner (the first party). But this donation is not effective if the donor withdraws his word before the first party obtains it. Therefore, the first party is obliged to pay to the other partner whatever share remains.
The amount of this share cannot be determined except after an inventory and paying off any debts and expenses etc… The assets of the business need to be determined by the business partners. Usually this is done by an accountant or auditor.
Allaah Knows best.