Ibn Umar reported Allah's Apostle (ﷺ) as saying:
The similitude of a hypocrite is that of a sheep which roams aimlessly between two flocks. She goes to one at one time and to the other at another time. (JA)
Reference (JA): Sahih Muslim 2784 a (JA)
In-book reference (JA): Book 51, Hadith 20 (JA)
USC-MSA web (English) reference(deprecated numbering scheme): Book 38, Hadith 6696 (JA)