The Prophet ﷺ said: A man follows the religion of his friend; so each one should consider whom he makes his friend. (Using translation from Abū Dāʾūd 4833)
عَنِ النَّبِيِّ ﷺ قَالَ الْمَرْءُ عَلَى دِينِ خَلِيلِهِ فَلْيَنْظُرْ أَحَدُكُمْ مَنْ يُخَالِلْ