Allah chose our Prophet and revealed to him the Qur'an, which will apply until the Day of Judgment. The Qur'an also informs us that Prophet Muhammad is the last Prophet. Our Prophet adhered to the Qur'an and advised people to read it and respect only its judgments. The related verses are as follows: Say: "I do not say to you that I possess the treasuries of Allah, nor do I know the Unseen, nor do I say to you that I am an angel. I only follow what has been revealed to me." Say:
"Are the blind the same as those who can see? So will you not reflect?"
Our Prophet also recommended to his companions that they read the Qur'an and observe its commands: Why do some people impose conditions that are not present in Allah's Book (Laws)? Whoever imposes a condition that is not in Allah's Laws, then that condition is invalid even if he imposes one hundred conditions, for Allah's conditions are more binding and reliable. (Bukhari)
Allah's Book is Allah's rope; he who follows it has guidance, and he who abandons it is in error. (Muslim)
He who spoke according to the Qur'an spoke the truth, and he who acts in accordance with its directions entitles himself to reward. Again, he who judges according to the Qur'an is just and fair. Then, as for him who invites people to the Qur'an is indeed guided on the Right Path. (Tirmidhi)
While enjoining good or forbidding evil, our Prophet adhered only to the Qur'an as a guide. All of his words stemmed from it:
"I follow only what has been revealed to me from my Lord. This is clear insight from your Lord, and a guidance and a mercy, for people who believe"
Similarly, when people asked for a fatwa about inheritance, Allah ordered him to say:
"Allah gives you a fatwa about people who die without direct heirs" and "Allah makes things clear to you so you will not go astray. Allah has knowledge of all things."
In another verse, Allah reveals our Prophet to reply as follows to those who say: "Bring a Qur'an other than this or change it."
Say: "It is not for me to change it of my own accord. I follow nothing except what is revealed to me. I fear, were I to disobey my Lord, the punishment of a Dreadful Day."
As the Qur'an states, our Prophet was a person of moral excellence who was distressed by the believers' suffering. He was deeply concerned about the believers, and was gentle and merciful toward them (Surat at-Tawba: 128); a noble person who enjoined good and forbade wrong, and relieved the believers of their heavy loads and the chains that were around them (Surat al-A'raf: 157); and was a blessing to people, purified them, and taught them the Book and Wisdom (Surah Al 'Imran: 164).
You have an excellent model in the Messenger of Allah, for all who put their hope in Allah and the Last Day and remember Allah much.