The Messenger of Allah ﷺ said, "You will surely follow the ways of those who came before you, hand span by hand span and forearm by forearm, so much so that if they entered the burrow of a lizard, you would follow them in."We asked, "Messenger of Allah, do you mean the Jews and the Christians?"He replied, "Who else?"
حدثنا روح حدثنا زهير بن محمد حدثنا زيد بن أسلم عن عطاء بن يسار
أن رسول الله ﷺ قال لتتبعن سنن الذين من قبلكم شبرا بشبر وذراعا بذراع حتى لو دخلوا جحر ضب لتبعتموهم قلنا يا رسول الله اليهود والنصارى قال فمن
Its isnad is sahih. Bukhari 4/206 related the hadith in "Prophets," what was mentioned about Banu Israil, Muslim 4/2054 no. 2669 in "Knowledge," following the ways of the Jews, and Ibn Majah 2/1322 no. 3994 in "Tribulations," the division of nations.