Answer:
Praise be to Allah, the Lord of the Worlds; and blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions. The Fiqh rules about merging two companies or more are easy. Each one of the companies that are to be merged should conduct an inventory and estimate its belongings before anything else. Then, there should be an agreement on the work mechanism, how the functions will be distributed amongst themselves and an agreement on the pre-conditions. All these things should be determined according to the Shari'a rules as detailed by the Fuqaha under the Chapter of partnership. Then, the merger could be carried out and the new company starts its transaction on these bases and any future profits are shared accordingly. When, the hour for distributing the profits comes, each contributor takes out the part of the benefits that is equivalent to the number of shares he owns. The capital of each one is the value, which was given to his company before the merger took place. The differences between Islamic countries, regarding this issue and others are due to the fact that most of these countries do not apply the Islamic economic system. Each country, then, has chosen a particular way. Some times copying the socialist way, other times copying the capitalist of one or even founding a new way particular to them. Consequently, people have gone far from the Shari'a, hence their interests have become very different and failure has been the result of most of their enterprises. The fault here is not in Islam but rather in the Muslims. And Allah knows best.