The Apartments - 49:7 Know that the Messenger of Allah is among you. Had he followed you in most of the affairs, you would have been in distress. But Allah has endeared to you the faith and adorned it in your hearts, and He has made disbelief, evil and rebellion ugly to you. These are they who follow the truth.
Related:
The Family Of Imran/3:152 Allah kept His promise to you, and indeed you destroyed them by His permission. But after He showed you what you loved, you hesitated and quarreled among yourselves about the war and did not listen to the orders. Some of you wanted the world and some the Hereafter. Then He turned you away from them as a test and forgave you in spite of everything. Allah is bountiful to those who believe

The Coalition/33:36 When Allah and His Apostle judge in a matter, no believing man or woman has a choice in that matter. Whoever disobeys Allah and His messenger has clearly gone astray.

The Women/4:59 Believers! Follow Allah and follow His messenger and those who are in charge of you, and if you disagree about anything, refer it to Allah and His messenger. If you believe in Allah and the Last Day. That is better for you and the best way of resolution.

Council/42:38 They respond to the call of their Lord, they observe the prayer, they decide their affairs in consultation among themselves, and they give out of what We have given them for charity.

The Family Of Imran/3:159 You were kind to them as a gift from Allah. Had you been rude and hard-hearted, they would have scattered around you. Forgive them, ask for their forgiveness and consult them about what to do. And when you have decided, trust in Allah; Allah loves those who trust.