Ibn Mas'ud (May Allah be pleased with him) reported:
A man came to Messenger of Allah (ﷺ) and said, "O Messenger of Allah! What do you think of a man who loves some people but does not go any nearer to their position?" He (ﷺ) replied, "A man will be with those whom he loves".[Al-Bukhari and Muslim].
Arabic/English book reference: Book 1, Hadith 370