The Quran says that there is no other judge besides Allah and that he doesnt allow anyone to share in his decision-making or rule:
Shall I seek other than Allah for judge, when He it is Who hath revealed unto you (this) Scripture, fully explained? Those unto whom We gave the Scripture (aforetime) know that it is revealed from thy Lord in truth. So be not thou (O Muhammad) of the waverers. S. 6:114
Say: "Allah knows best how long they stayed. With Him is (the knowledge of) the unseen of the heavens and the earth. How clearly He sees, and hears (everything)! They have no Wali (Helper, Disposer of affairs, Protector, etc.) other than Him, and He makes NONE to share in His Decision and His Rule." S. 18:26 Hilali-Khan
But elsewhere in the Quran Muhammad is said to share in Allahs decisions and judgments:
O ye who believe! Obey Allah, and obey the messenger and those of you who are in authority; and if ye have a dispute concerning any matter, refer it to Allah and the messenger if ye are (in truth) believers in Allah and the Last Day. That is better and more seemly in the end. S. 4:59
We sent no messenger save that he should be obeyed by Allah's leave. And if, when they had wronged themselves, they had but come unto thee and asked forgiveness of Allah, and asked forgiveness of the messenger, they would have found Allah Forgiving, Merciful. But nay, by thy Lord, they will not believe (in truth) until they make thee judge of what is in dispute between them and find within themselves no dislike of that which thou decidest, and submit with full submission. S. 4:64-65 Pickthall
Amazingly, the above citation says that Muhammad also shares Allahs ability to forgive sinners! And:
And it becometh not a believing man or a believing woman, when Allah and His messenger have decided an affair (for them), that they should (after that) claim any say in their affair; and whoso is rebellious to Allah and His messenger, he verily goeth astray in error manifest. S. 33:36
In light of the above what exactly is a person to believe? Is Allah the only judge and does he refuse to share his decision and rule with anyone? Or does Muhammad also judge and make decisions for his community?
Unless stated, all verses taken from the Muhammad Marmaduke Pickthall version of the Quran.
Contradictions in the Qur'an
Answering Islam Home Page