Abdullah bin Umar reported,

The Prophet ﷺ said, "The likeness of the hypocrite is that of a wandering sheep between two flocks, going to this one at one time and to that one at another time."In another wording, "It runs to this one at one time and to that one at another time."

Azami 15054

Sahih

عن ابن عمر

عن النبي ﷺ قال: مثل المنافق كمثل الشاة العائرة بين الغنمين، تعير إلى هذه مرة وإلى هذه مرة. وفي لفظ: تكر في هذه مرة وفي هذه مرة.

الأعظمي 15054صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Hypocrisy and the hypocrites
Section
Parable of the hypocrite
Numbering
Jami al-Kamil 15054 (2nd edition)
Azami 15054