Abu Sa'id al-Khudri reported Allah's Messenger (ﷺ) as saying
You would tread the same path as was trodden by those before you inch by inch and step by step so much so that if they had entered into the hole of the lizard, you would follow them in this also. We said: Allah's Messenger, do you mean Jews and Christians (by your words)" those before you"? He said: Who else (than those two religious groups)?
This hadith is reported through Muhammad bin Muttarif from Zayd bin Aslam with the same chain.
This hadith has been narrated on the authority of 'Ata' b. Yasir through another chain of transmitters.