Urwah (may Allah have mercy on him) said: I said to Sayyiduna Abdullah bin Umar (may Allah be pleased with them both): O Abu Abd al-Rahman! We go in to the rulers, and one of them gives an unjust judgement, and we say: May Allah grant you success; and he looks at one of us, and we praise him. He said: "We, the Companions of the Messenger of Allah (peace and blessings be upon him), used to count that as hypocrisy; now I do not know what you count it as."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13207