حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ، ثنا ابْنُ الْأَصْبَهَانِيِّ، ثنا شَرِيكٌ، عَنْ لَيْثٍ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عُمَرَ، قَالَ: قِيلَ لَهُ: إِنَّا إِذَا دَخَلْنَا عَلَى الْأُمَرَاءِ قُلْنَا لَهُمْ مَا لَا نَقُولُ لَهُمْ إِذَا خَرَجْنَا مِنْ عِنْدِهِمْ، فَقَالَ: «كُنَّا نَعُدُّ ذَلِكَ نِفَاقًا عَلَى عَهْدِ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ»
It was said to Ibn Umar (may Allah be pleased with them both): When we go in to the rulers, we say things to them that we do not say once we have left them. He said: "In the time of the Messenger of Allah (peace and blessings be upon him), we used to count that as hypocrisy."