The Prophet (ﷺ) said: A man follows the religion of his friend; so each one should consider whom he makes his friend.
Sunan Abi Dawud Book 43, Hadith 61