Hadithcore
Mishkat al-Masabih, 57
graded· Zubair `Aliza'i

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.

وَعَنِ ابْنِ عُمَرَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مثل الْمُنَافِق كَمثل الشَّاة الْعَائِرَةِ بَيْنَ الْغُنْمَيْنِ تَعِيرُ إِلَى هَذِهِ مَرَّةً وَإِلَى هَذِه مرّة» . رَوَاهُ مُسلم

References1 variant
In-Book Reference
Book 1, Hadith 51