أقربكم مني مجلسا يوم القيامة أحاسنكم أخلاقا
So it is the good attitude
Prophet Mohammed (pr Muhammad); peace be upon him; is God messenger to all people to call them to worship Allah (or God and same God in Christianity and Judaism) as the one and only one with no partner, no son, no father, no companion, no associate, and no equivalence. Prophet Muhammad calls people to follow the holy book Quran as revealed to him by God through the angel Gabriel (Jibril). Prophet Muhammad calls people to good morals and to do do good deeds for the benefit of the community and mankind. Refer to questions below.
Mohammed had a number of central characteristics. It makes it very difficult to say that he is one thing or another. The below list several aspects of his personality and its relevance to Islam.
Prophet/Messenger of God: Islam holds that there have been thousands of Prophets disseminated to the far corners of the planet to tell people to be monotheistic. However, there were only five Messengers of God. The difference being that a Messenger brings a Divinely Extant Book to the Earth by way of his prophecy. The five Messengers of God were Adam, Noah, Moses, Jesus, and Mohammed. Moses brought the people the Torah and Jesus brought the people the Gospel. These books, in Islamic belief, were originally perfect copies of the Divine Versions of these Scriptures. In time, they were corrupted from their original meaning. Mohammed brought down the Qur'an in an act of Finality. His act of Prophethood was so great and important that he was never to be followed.
Transmitter of the Qur'an: Mohammed received the final message from God which was, in Islamic tradition, the only Divine Message that was properly recorded as given. The Qur'an, the Divine Book of Islam, is considered a verbatim recollection of the words imprinted onto Mohammed's heart. Since it is the clearest indicator of the Divine Will, his willingness and fortitude in transmitting it is praised.
Islamic Statesman: Mohammed was not only a religious leader (a modern Imam), but was a theocrat, actively building and maintaining a community. In so doing, he set up a number of the systems and traditional mechanisms that hold a Muslim Community together and provide a blueprint for an Islamic State. The Islamic Community of Yethrib (now called Medina), which he founded and led prior to victory over Meccan Forces, is used as the "role model community" for nearly every strain of Islam. Feminists point to some of his edicts as being more feminist than other societies and Conservatives point to some of his edicts as being more traditional. Regardless, the desirability of replicating the Yethribi Community cannot be overstated.
Hakam: During his life as a leader of the Islamic Communities he served as a Judge or Arbitrator. This term is known as "Hakam" in Arabic. He would settle disputes between different Muslims or between Muslims and Non-Muslims or between groups of Non-Muslims. As a Hakam, he created much of Islamic Case Law or Hadith. The Hadith were remarks made by Mohammed or actions he took in response to these legal issues. The Hadith form a much larger corpus of law than the Qur'an strictly read.
Virtuous Character: Muslims believe Mohammed's character to be unassailable and virtuous. Similarly to how they wish to emulate his community in their communities, they wish to emulate his lifestyle in their lives.
Warrior and General: Mohammed was a very capable warrior and was famed for being such a strong man than he would wear two sets of armor into battle. (Armor was heavy in those days.) This militant aspect to Mohammed was necessary as the Meccans (the dominant Arabian city-state) were opposed to Islam and made several attempts to conquer Yethrib and remove Islam. Had the Meccans been successful, Islam would not exist today. In addition to his heroism on the battlefield, Mohammed also was a good orator, preparing his followers before the battles for the hardship to come.
Islamic Imperialist: By conquering other Arabian Tribes, Mohammed set the precedent of how Islam would function. He tolerated non-pagan tribes in Arabia and made peace with them. At the same time he demanded conversion from pagans or henotheists to Islam. Furthermore, after the Fall of Mecca, the Islamic Empire (still under Mohammed) expanded rapidly to the entire Arabian Peninsula. This precedent of quick conquest (within a few years) also gave direction to the faith. The strength of these Empires served as a witness to many Muslims of the strength and veracity of their faith.
Diplomat: Mohammed married many different princesses and important women of different kingdoms and tribes in order to facilitate union with them and prevent additional unnecessary wars.