وَعَنِ ابْنِ عُمَرَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مثل الْمُنَافِق كَمثل الشَّاة الْعَائِرَةِ بَيْنَ الْغُنْمَيْنِ تَعِيرُ إِلَى هَذِهِ مَرَّةً وَإِلَى هَذِه مرّة» . رَوَاهُ مُسلم
Ibn ‘Umar reported God's messenger as saying, “The hypocrite is like a ewe which goes to and fro between two flocks, turning at one time to the one and at another time to the other.” Muslim transmitted it.
Related hadith on this topic