Ibn ‘Abbas reported God’s Messenger as saying, “If anyone sees in his commander what he dislikes he should show patience, for no one separates a span's distance from the community and dies without dying like those of pre-Islamic times.”
(Bukhari and Muslim.)