One of the most important characteristics, frequently mentioned with regards to the Prophet (saas) in the Qur'an, is that he only practiced what Allah revealed and asked of him, with no concern about what others might think. Important figures and members of other religions at the time wanted him to impose rules that would benefit them. Although these people were more numerous and powerful, the Prophet (saas) was punctilious about abiding by Allah's commandments and the Qur'an. Allah tells us the following in one verse...
Throughout the period of his mission, the Prophet Muhammad (saas) experienced all manner of difficulty. Deniers and polytheists, from among his own people, insulted him most terribly, even calling him a magician or a madman. Others wanted to kill him and even schemed to do so. Despite all that, the Prophet (saas) tried to teach people of all backgrounds and cultures about the Qur'an, and therefore about proper morality and good behavior.
Allah charges everyone with obeying the prophets He has sent. These messengers were blessed men who abided by Allah's commands, communicated His revelations, represented the human model most pleasing to Allah by means of their words and actions, in short by their whole manner of living. Allah reveals in the Qur'an that those who abide by His messengers will be saved.
In the Qur'an, Allah commands believers to "Be upholders of justice, bearing witness for Allah alone, even against yourselves or your parents and relatives. Whether they are rich or poor, Allah is well able to look after them. Do not follow your own desires and deviate from the truth..." (Surat an-Nisa': 135). With the rules he imposed on Muslims, his just and tolerant attitude towards those of other religions, languages, races and tribes, and his way of not discriminating between rich and poor, but treating everybody equally, Allah's Messenger (saas) is a great example to all of mankind.
One of the most important errors that the Prophet (saas) has warned against is associating partners with Allah (shirk). As can be seen from the verses of the Qur'an, the Prophet (saas) always told people that Allah is the only god, that nothing had any power apart from Allah, and warned them against idolatry.
In the verse "O Prophet! We have sent you as a witness, and a bringer of good news and a warner" (Surat al-Ahzab: 45), Allah describes the Prophet (saas) as a bearer of glad tidings and a warner. The Prophet (saas) always warned people against the sufferings to be experienced in Hell, and told them of the desirable future that awaited the good in this world, and of the infinite life of the Paradise in the hereafter. Allah reveales this characteristic of the Prophet (saas) in the Qur'an thus...
Some of those who surrounded the Prophet (saas) were less than well-mannered and cultured. It can be seen from a number of verses that they could not understand how thoughtless they were and that their behavior could make others uncomfortable. For instance, verses speak of people entering houses by the back instead of the front, arriving when the Prophet (saas) was dining, or else taking up his time by talking for a long time.