“It was the 13th year of the Prophet’s mission when the clouds had gathered fast. The Meccan chiefs centered in their Council Hall (darun-nadwa), a chamber inside Kaba, to deliberate over what might be treated with the Prophet. Stormy was the meeting, for fear had entered their hearts. Imprisonment for life, expulsion from the city, each was debated in turn for the Prophet. They decided then on a final and desperate remedy, namely to kill the Prophet. Murder by one man would have exposed him and his family to the vengeance of blood. The difficulty was at last solved by Abu Jahl, who suggested that a number of courageous men, chosen from different families, should sheathe their swords simultaneously in the Prophet’s bosom, in order that the responsibility of the deed might rest upon all, and the relations of the Prophet might consequently be unable to avenge it. The proposal was accepted, and forty youths were selected for the sanguinary deed. As the night advanced, and it was against the Arab sense of chivalry to kill any one within the four walls of his house at night hour. Hence, the assassins posted themselves round the Prophet’s dwelling, and watched all night long, peeping now and then through a hole in the door to make sure that the Prophet still lay on his bed. In order to keep the attention of the assassins focused upon the bed, the Prophet put his own green coverlet upon Ali, and bade him to lie on his bed; so as to fail the scheme of his enemies, and himself escaped.
The Prophet had guessed exactly what would be the reactions of the Meccans when they found he had gone. He had, therefore, not started for Yathirab with camel. He had gone on foot with Abu Bakr to Mount Thaur, about one hour’s walk from Mecca. They reached Mount Thaur while it was still dark and concealed themselves in the innermost recess of a cave in the rocky hillside. A tracking party, following the footprints of the fugitives, reached the mouth of the cave. Abu Bakr, hearing the sound of their footsteps, grieved within himself. It was a critical moment when the sword of the bloodthirsty enemy was hanging on their heads. The Prophet quieted the fears of Abu Bakr with the words: “Do no be grieved, for surely God is with us.” For full three days, the Prophet remained in the cave.
On the third night, they came out with two camels. Quickly the Prophet mounted and followed by Abu Bakr, rode into the desert night. They took a certain Abdullah bin Uraiqi, a non-Muslim as their guide. In order to avoid the main caravan tracks, they struck a diagonal course northwest toward the Red Sea. For nearly a week the journey continued over the parched, barren, mournful wasteland. No living creatures, not even vultures or snakes, inhabited this wilderness. They first had proceeded parallel to the Red Sea until they reached a place called Usfan. From here they turned a little inland and travelled for some distance along the foot of Mount Amaj. Then they followed a route parallel to the usual route. They went past Qudayda, al-Kharrar, Thanniyya al-Marrah and Liqfa, and crossed the territories of Banu Madlijah and Banu Aslam, where they alighted for a while. Here The Prophet hired a camel to relieve, his own which was exhausted by the long non-stop journey. Before they entered Kuba, they passed through such places as al-Araj, Thanniya al-Ghair and the valley of Ri’m. On the seventh morning after the start of the flight, the oasis of Kuba, a few miles from Yathirab, was sighted. The last stage was from there to Kuba, which was originally the name of a well and became a settlement of Banu Amr ibn Awf. Finally, the Prophet made his footing in Kuba after 12 nights had passed of the month of Rabi I, when the mid-day heat was scorching and the sun stood perpendicular. This journey covered 246 miles. This flight of the Prophet from Mecca to Yathirab (Medina) is called the hijra.
On the other side in Mecca, Ali slept fearlessly whole night on The Prophet’s bed. R.V.C. Bodely writes in “The Messenger” (London, 1946, p. 113) that, “The morning breeze whispered over the desert. The dawn came mauvely from the east and showed the assassins braced to strike. As the first white rays of the rising sun hit the flat roofs of Mecca, the door of the Prophet’s house opened. The men stood ready to spring. They then held back as their astonished eyes rested on the burly figure of Ali standing on the threshold carrying the Prophet’s cloak over his arms.” The assassins at first thought of killing him, but when they found him ready to defend himself, they gave up the idea and dispersed in search of the Prophet. Discomfited and unhappy, they immediately dispatched their best riders in pursuit of the fugitive. Up and down they hunted over all the tracks and passes leading out of Mecca, but found no trace of the Prophet.
Ali stayed three days at Mecca and handed back all the articles, which were entrusted to the Prophet for safe custody, mostly by his enemies, secured their receipts and quitted the city in broad daylight. Ali was also assigned for safe transport of the Prophet’s daughter Fatima, the daughter of Hamza, another Fatima, his own mother, Fatima bint Asad, and his aunt, that was the daughter of Abdul Muttalib, a fourth Fatima. On account of scarcity of mounts, Ali had to travel on foot, and reached Kuba with bleeding feet. The Prophet embraced him, and dressed his feet. He stayed with the clan of Umar bin Auf at Kuba for 14 days, and during which time he laid foundation of the first mosque of Islam. It is of this mosque that Koran (9:109) speaks as “the mosque founded on piety.”
The news of the Prophet’s arrival at Kuba soon reached Yathirab and the city had been in eager expectation of his arrival. Each morning some people would go out on the outskirts to watch the appearance of their revered master. The tedious hours of impatient expectancy were at last over, and the illustrious visitor appeared on the horizon of Yathirab. At last the great day arrived. News was brought to Yathirab that the Prophet was on his way. He entered the city on September 22, 622.