Translation of the verse 7 from Surah Al-hujurat : Number of verses 18 - - page 516 - Part 26.
And know that, among you there is the Messenger of Allah (SAW). If he were to obey you (i.e. follow your opinions and desires) in much of the matter, you would surely be in trouble, but Allah has endeared the Faith to you and has beautified it in your hearts, and has made disbelief, wickedness and disobedience (to Allah and His Messenger SAW) hateful to you. These! They are the rightly guided ones,
And know that among you is the Messenger of Allah. If he were to obey you in much of the matter, you would be in difficulty, but Allah has endeared to you the faith and has made it pleasing in your hearts and has made hateful to you disbelief, defiance and disobedience. Those are the [rightly] guided.
(49:7) Know that Allah's Messenger is among you. Were he to follow you in many an affair, you yourselves would suffer. *9 But Allah has endeared faith to you and has embellished it in your hearts, and has made unbelief and evil-doing and disobedience abhorrent to you. Such are those who are rightly guided,
*9) This is evident from the context as well as understood by several commentators from this verse that the Holy Prophet was hesitant to take any military action against the Bani al-Mustaliq on the report given by Walid bin 'Uqbah in their case, but some of the people insisted that they should be attacked at once. At this those people were warned that they should not forget that the Holy Prophet was present among them, who understood them better than they did. Therefore, their thinking that the Holy prophet should act according to their counsel in important matters was undue boldness. For if he started acting according to what they counseled it would generally lead to blunders for which they themselves would have to suffer.