allah, the exalted, says:
"but no, by your rubb, they can have no faith, until they make you (o muhammad (pbuh)) judge in all disputes between them, and find in themselves no resistance against your decisions, and accept (them) with full submission.'' (4:65)
"the only saying of the faithful believers, when they are called to allah (his words, the qur'an) and his messenger (pbuh), to judge between them, is that they say: `we hear and we obey.' and such are the successful (who will live forever in jannah).'' (24:51)
168. abu hurairah (may allah be pleased with him) reported: when it was revealed to messenger of allah (pbuh): "to allah belongs all that is in the heavens and all that is on the earth, and whether you disclose what is in your own selves or conceal it, allah will call you to account for it,'' the companions of messenger of allah (pbuh) felt it hard and severe and they came to messenger of allah (pbuh) and sat down on their knees and said: "o messenger of allah, we were assigned some duties which were within our power to perform, such as salat (prayer), saum (fasting), jihad (striving in the cause of allah), sadaqah (charity). then this (the above mentioned) verse was revealed to you and it is beyond our power to live up to it.'' messenger of allah (pbuh) said, "do you want to say what the people of two books (jews and christians) said before you: 'we hear and disobey?' you should rather say: 'we hear and we obey, we seek forgiveness, our rubb and unto you is the return.''' and they said: "we hear and we obey, (we seek) your forgiveness, our rubb! and unto you is the return.'' when the people recited it and it smoothly flowed on their tongues, then allah revealed immediately afterwards: "the messenger (muhammad (pbuh)) believes in what has been sent down to him from his rubb, and (so do) the believers. each one believes in allah, his angels, his books, and his messengers. (they say), 'we make no distinction between one another of his messengers' - and they say, 'we hear, and we obey. (we seek) your forgiveness, our rubb, and to you is the return (of all)". when they did that, allah abrogated this (ayah) and allah the great revealed: "allah burdens not a person beyond his scope. he gets reward for that (good) which he has earned, and he is punished for that (evil) which he has earned.'' (the prophet (pbuh) said): "yes. 'our rubb! lay not on us a burden like that which you did lay on those before us (jews and christians)". (the prophet (pbuh) said): "yes. 'our rubb! put not on us a burden greater than we have strength to bear". (the prophet (pbuh) said): "yes. 'pardon us and grant us forgiveness. have mercy on us. you are our maula (patron, supporter and protector) and give us victory over the disbelieving people".
he (the prophet (pbuh)) said: "yes".
commentary: we learn from this hadith that initially every person was answerable for thoughts and doubts even those which crossed his mind; something on which nobody had any control. the companions of the prophet (pbuh) were naturally disturbed on this situation. but when they heard and obeyed the orders of the prophet (pbuh) then almighty allah revoked this order with the elaboration that he does not put anyone to trouble beyond his capacity. it is, therefore, essential for every muslim to obey all the injunctions of allah because none of it is such that he is unable to carry out.