Abu Hurairah (May Allah be pleased with him) reported:
I heard the Prophet (ﷺ) saying, "Man follows his friend's religion, you should be careful who you take for friends".[At-Tirmidhi and Abu Dawud].
Arabic/English book reference: Book 1, Hadith 367