Could you reference this narration?
Nabi (sallallahu ‘alayhi wa sallam) said:
“The example of a hypocrite is that of a sheep which roams between two flocks [looking to mate], going to one at one time and to the other at another time.”
Imam Muslim (rahimahullah) has recorded this Hadith on the authority of Sayyiduna ‘Abdullah ibn ‘Umar (radiyallahu ‘anhuma).
(Sahih Muslim, Hadith: 2784)
When a munafiq is with the believers, he claims to be with them and when with the disbelievers, he claims to be with them. He follows his whims and desires and is not settled, just as the sheep roaming around from flock to flock looking to mate.
(Faydul Qadir, Hadith: 8158)
And Allah Ta’a’la Knows best.
Answered by: Moulana Suhail Motala
Approved by: Moulana Muhammad Abasoomar