It was only after the Second World War and the dismemberment of the British, French, Dutch and Spanish empires that the rest of the Islamic world gained its independence. In the Arab world, Syria and Lebanon became independent at the end of the war as did Libya and the sheikdoms around the Gulf and the Arabian Sea by the 1960's. The North African countries of Tunisia, Morocco and Algeria had to fight a difficult and, in the case of Algeria, long and protracted war to gain their freedom which did not come until a decade later for Tunisia and Morocco and two decades later for Algeria. Only Palestine did not become independent but was partitioned in 1948 with the establishment of the state of Israel.
In India Muslims participated in the freedom movement against British rule along with Hindus and when independence finally came in 1947, they were able to create their own homeland, Pakistan, which came into being for the sake of Islam and became the most populated Muslim state although many Muslims remained in India. In 1971, however, the two parts of the state broke up, East Pakistan becoming Bangladesh.
Farther east still, the Indonesians finally gained their independence from the Dutch and the Malays theirs from Britain. At first Singapore was part of Malaysia but it separated in 1963 to become an independent state. Small colonies still persisted in the area and continued to seek their independence, the kingdom of Brunei becoming independent as recently as 1984.
In Africa also major countries with large or majority Muslim populations such as Nigeria, Senegal and Tanzania began to gain their independence in the 1950's and 1960's with the result that by the end of the decade of the 60's most parts of the Islamic world were formed into independent national states. There were, however, exceptions. The Muslim states in the Soviet Union failed to gain their autonomy or independence. The same holds true for Sinkiang (called Eastern Turkestan by Muslim geographers) while in Eritrea and the southern Philippines Muslim independence movements still continue.
While the world of Islam has entered into the modern world in the form of national states, continuous attempts are made to create closer cooperation within the Islamic world as a whole and to bring about greater unity. This is seen not only in the meetings of the Muslim heads of state and the establishment of the OIC (Organization of Islamic Countries) with its own secretariat, but also in the creation of institutions dealing with the whole of the Islamic world. Among the most important of these is the Muslim World League (Rabitat al-alam al-Islami ) with its headquarters in Makkah. Saudi Arabia has in fact played a pivotal role in the creation and maintenance of such organizations.
"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari