While Ali...
While Ali, the cousin of the Prophet, and some of the Hashimites (clan of the Prophet) were busy with the holy funeral, some of the Muslims were gathering at a place, called "Saqifat Bani-Sa’idah" to select a new leader. The Muslim community of Madina, the capital of the Muslim state, was comprised of the natives of Madina and those who immigrated to Madina. Most of those immigrants (who are called Muhajireen) were from Mecca.
The natives of Madina were composed of two tribes, namely "Khazraj" and "Ous". These natives were called "Al-Ansar" (the Helpers). There was some rivalry between the immigrants and the natives of Madina. There was, also, a rivalry between the two Madinite tribes. The conferees who were gathering to select a successor were mostly Madinites, and they were aiming at choosing one of them for the high office. Sa'ad Ben Abadah, the chief of the Khazrajites was the hopeful one.
The news of the conference reached Abu-Bakr, Omar, and others from the immigrants. They hurriedly went to the conference to prevent the Madinites from implementing their scheme. In debating with the Madinites, they offered the following argument: The Prophet was a Meccan, and the Meccans are his relatives. Therefore, only a Meccan should succeed him. By virtue of the mutual jealousy among the Madinites, the Ousites deserted Sa'ad Ben Abadah and leaned towards the Meccans.
Abu-Bakr was nominated immediately and the majority of the conferees pledged to him their loyalty. And so did most of the Muslims, immigrants and Madinites. Thus, Abu-Bakr became the first "Khalif" (successor) in the history of Islam. By this, the issue between the Madinites and the immigrants was settled forever; and since then no one from the Madinites ever contended for the right of succession. But the issue was far from being settled among the Meccans themselves.
Ali, as we advanced, was preoccupied with the funeral of the Prophet. He was not consulted in this important matter. He and many others believed that he was not only the proper one to succeed the Prophet, but also the Prophet's nominee and appointee. He thought that they made a fast deal and manipulated the election. Abu-Bakr and his group had defeated the Madinites by arguing that the Meccans are the relatives of the Prophet.
If relationship to the Prophet should entitle any Meccan to succeed him, Ali should be the first one to be offered the job. He is the Prophet's first cousin and son-in-law.