Although the majority of pre-Islamic Arabia was nomadic, there were several important cities that came into being as centers of trade and religion, such as Mecca, Medina (Yathrib), Karbala, and Damascus. The most important of these cities was Mecca, which was an important center of trade in the area, as well as the location of the Kaaba (or Ka'ba), one of the most revered shrines in polytheistic Arabia. After the rise of Islam, the Kaaba became the most sacred place in Islam.
Islamic tradition attributes the beginning of Mecca to Ishmael's descendants. Many Muslims point to the Old Testament chapter Psalm 84:3–6 and a mention of a pilgrimage at the Valley of Baca, which is interpreted as a reference to Mecca as Bakkah in Qur'an Surah 3:96. The Greek historian Diodorus Siculus, who lived between 60 BCE and 30 BCE, wrote about the isolated region of Arabia in his work Bibliotheca historica, describing a holy shrine that Muslims see as Kaaba at Mecca: "And a temple has been set up there, which is very holy and exceedingly revered by all Arabians." Some time in the 5th century, the Kaaba was a place to worship the deities of Arabia's pagan tribes. Mecca's most important pagan deity was Hubal, whose idol had been placed there by the ruling Quraysh tribe and remained until the 7th century.
The City of Mecca
In the 5th century, the Quraysh tribes took control of Mecca and became skilled merchants and traders. In the 6th century they joined the lucrative spice trade, since battles in other parts of the world were causing trader to divert from the dangerous sea routes to the more secure overland routes. The Byzantine Empire had previously controlled the Red Sea, but piracy had been increasing. Another previous route, which ran through the Persian Gulf via the Tigris and Euphrates rivers, was also threatened by exploitations from the Sassanid Empire, and disrupted by the Lakhmids, the Ghassanids, and the Roman–Persian Wars.
Mecca's prominence as a trading center eventually surpassed the cities of Petra and Palmyra. Historical accounts also provide some indication that goods from other continents may also have flowed through Mecca. Camel caravans, said to have first been used by Muhammad's great-grandfather, were a major part of Mecca's bustling economy. Alliances were struck between the merchants in Mecca and the local nomadic tribes, who would bring goods—leather, livestock, and metals mined in the local mountains—to Mecca to be loaded on the caravans and carried to cities in Syria and Iraq. Historical accounts provide some indication that goods from other continents may also have flowed through Mecca. Goods from Africa and the Far East passed through en route to Syria. The Meccans signed treaties with both the Byzantines and the Bedouins to negotiate safe passages for caravans and give them water and pasture rights. Mecca became the center of a loose confederation of client tribes, which included those of the Banu Tamim. Other regional powers such as the Abyssinian, Ghassan, and Lakhm were in decline, leaving Meccan trade to be the primary binding force in Arabia in the late 6th century.
The harsh conditions and terrain of the Arabian peninsula meant a near-constant state of conflict between the local tribes, but once a year they would declare a truce and converge upon Mecca in a pilgrimage. Up to the 7th century, this journey was undertaken by the pagan Arabs to pay homage to their shrine and drink from the Zamzam Well. However, it was also the time each year when disputes would be arbitrated, debts would be resolved, and trading would occur at Meccan fairs. These annual events gave the tribes a sense of common identity and made Mecca an important focus for the peninsula.
A modern-day caravan crossing the Arabian Peninsula
As sea trade routes became more dangerous, several tribes built the Arabian city of Mecca into a center of trade to direct more secure overland caravan routes.
City of Medina (Yathrib)
Although the city of Medina did not have any great distinction until the introduction of Islam, it has always held an important place in trade and agriculture because of its location in a fertile region of the Hejaz. The city was able to maintain decent amounts of food and water, and therefore was an important pit stop for trade caravans traveling along the Red Sea. This was especially important given the merchant culture of Arabia. Along with the port of Jidda, Medina and Mecca thrived through years of pilgrimage.
During the pre-Islamic period up until 622 CE, Medina was known as Yathrib, an oasis city. Yathrib was dominated by Jewish tribes until around 400 CE, when several Arab tribes gained political power. Medina is celebrated for containing the mosque of Muhammad. Medina is 210 miles (340 km) north of Mecca and about 120 miles (190 km) from the Red Sea coast. It is situated in the most fertile part of the Hejaz territory, where the streams of the vicinity converge. An immense plain extends to the south; in every direction the view is bounded by hills and mountains.
In 622 AD, Muhammad and around 70 Meccan Muhajirun believers left Mecca for sanctuary in Yathrib, an event that transformed the religious and political landscape of the city completely. The longstanding enmity between the Aus and Khazraj tribes was dampened as many tribe members, and some local Jews, embraced Islam. Muhammad, linked to the Khazraj through his great-grandmother, was agreed on as civic leader.
The Muslim converts native to Yathrib—whether pagan Arab or Jewish—were called Ansar ("the Patrons" or "the Helpers"). According to Ibn Ishaq, the local pagan Arab tribes, the Muslim Muhajirun from Mecca, the local Muslims (Ansar), and the Jews of the area signed an agreement, the Constitution of Medina, which committed all parties to mutual cooperation under the leadership of Muhammad. The nature of this document as recorded by Ibn Ishaq and transmitted by Ibn Hisham is the subject of dispute among modern Western historians. Many maintain that this "treaty" is possibly a collage of different agreements, oral rather than written, of different dates, and that it is not clear when they were made. Other scholars, however, both Western and Muslim, argue that the text of the agreement—whether it was originally a single document or several—is possibly one of the oldest Islamic texts we possess.
Medina
Old depiction of Medina during Ottoman times.