Apart from the great honor to be bestowed upon the people of Madinah and such other reasons accessible only to the All-knowing God, one of the considerations in the selection of the town as the future center of Islam was that it was, from a strategic point of view brought about by its geography and defense, impregnable like a fortified city. No other town of the Arabian Peninsula enjoyed the same advantage. Lying in a lava plain, surrounded on all sides by chains of high mountains, Western side of the city is protected by the lava and extremely uneven hilly terrain known as Harratal-al-Wabra(22) while Harra-al-Waqim surrounds it on the eastern side. Madinah lies unprotected and open to military advance only in the north (where, in 5 A.H., the Prophet (sallallahu ‘alayhi wa sallam) ordered to dig trenches on the occasion of the battle of clans). Thickly clustered plantations of date-palm groves encompassed the town on the remaining sides. An army taking this route would have had to maintain communications through deep valleys and ravines. Thus, it would have been difficult to attack Madinah in full force from these sides while the defenders could have easily conquered the invaders through small outlying pickets.
Ibn Is’haq writes: “Only one side of Madinah was exposed, and the rest of the sides were strongly protected by buildings and date-palm groves through which an enemy could not get access.”
The Prophet (sallallahu ‘alayhi wa sallam) had perhaps covertly referred to this very aspect of Madinah when he said before his migration: “I have been shown the goal of your migration – a land of palm-trees lying between two tracts strewn with black, rugged stones.” All those who resolved upon migration proceeded thereupon to Madina. (Bukhari, chap. Migration).
The two Arab tribes of Madina, the Aus and the Khazraj, were well known for their passionate, chauvinistic spirit of the clan; self-respect, boldness and valor while riding horses was one of the manly skills in which they excelled. Freedom of the desert was in their blood: neither had they ever submitted to any authority nor paid impost to a sovereign. The heroic character of these tribes was plainly set forth when the chief of Aus, S’ad Ibn Mu’adh had said to the Prophet (sallallahu ‘alayhi wa sallam) during the battle of Trenches: “When we and these people were polytheist and idolaters, not serving God nor knowing Him, they never hoped to eat a single date except as guests or by a purchase.” (Ibn Hisham, Vol. II, p. 289)
“The two clans of Yathrib…” writes Ibn Khaldun, “…dominated over the Jews and were distinguished because of their prestige and eminence. The tribe of Mudar, which was just around the vicinity, was cognate with them. ” (Tarikh Ibn Khaldun, Vol. II, p. 289) Ibn ‘Abd-I-Rabbehi, another Arab historian, writes in the Al-‘Iqd al-Farid; “The Ansaar descended from the tribe of Azd. Known as Aus and Khazraj, they were lineal descendants of the two sons of Haritha Ibn ‘Amr Ibn Amir. Being more proud and dignified than others, they had never paid tribute to any regime or supremacy.” (Al-‘Iqd ul-Farid, Vol. III, p. 334)
They were related, on the material side, to the Banu ‘Adiy Ibn al-Najjar who had given one of their daughters, Salma bint ‘Amr, to Hashim in marriage. To Hashim she bore ‘Abdul Muttalib, but Hashim, however, left the boy with his mother in Yathrib where he was brought up and was taken to Mecca by his uncle after he had grown up into a youth. These blood relationships, which were the adhesive elements in tribal organization, cannot be ignored since kinship played an important role in the social life of the Arabs. On reaching Madinah, the Prophet (sallallahu ‘alayhi wa sallam) stayed with Abu Ayyub Ansari who belonged to Banu ‘Adiy Ibn al-Najjar.
Aus and Khazraj traced back their roots from Qahtan while Muhajirrin and other Muslims hailing from Mecca or other places close to it claimed their descent from ‘Adnan. Thus, after the Prophet (sallallahu ‘alayhi wa sallam) migrated to Madinah and the Ansaar pledged their support to him, both the ‘Adnan and Qahtan had been at odds with one another during the pre-Islamic times but they were banded together in Madinah and thus the pagan passions of blood and clan, of vanity and pride and of contemptuous self-conceit were abolished by the wholesome influence of Islam.
For all these causes and considerations as well as for its strategic location, Madinah was the fittest place to be selected for the emigration of the Prophet (sallallahu ‘alayhi wa sallam) and his companions as it was eminently suited to be made the radiating center of Islam until it gained enough strength to prevail over the Peninsula and charged the whole country with a new spirit of virtue and godliness.
EXPANSION OF ISLAM IN MADINAH
The teachings of Islam were so contagious that the people of the Aus and the Khazraj, awakened to interest, quickly attested their faith in it. S’ad Ibn Mu’adh was the first to embrace, then Usayd Ibn Hudayr, the leader of Bani ‘Abdul Ash’hal, a clan of Aus followed suit. The wise and courteous stance of Mus’ab Ibn Umary, together with the proper manner in which he presented Islam to them, convinced these people of the truth that is Islam. Then the remaining clansmen of Bani ‘Abdul Ash’al were led to accept the faith such that shortly thereafter, there was not a house of the Ansaar in which a man or a woman had not given his or her faith to Islam. (Ibn Hisham, Vol. I, pp. 436-38)
 Harrah or Labah is a terrain full of volcanic igneous rocks of dark green colour and uneven shape which are produced by the matter flowing from volcano. Such an uneven hilly terrain is absolutely useless as a fighting ground or for communication either for infantry or cavalry. Mujduddin Firozabadi (d. 823 A.H.) writes in the al-Maghanim al-Matabta fi Ma’alim Taba that a number of Harrah, some nearer the town and some or least make the advance distance, surround Medina from all sides and protect it from attack or at least make the advance difficult for an invading army. (See pp. 108-114 and Bukhari, Chap. Migration of the Prophet)