Reference: al-Khateeb in al-Faqeeh wal-Mutafaqqih – Volume 1, Page 15;
Mabaahith fee Ahkaam al-Fatwa – Page 12
Maalik ibn Anas (radhi-yAllaahu ‘anhu) said:
Whoever does not love knowledge, then there is no good in him; So there should not be any acquaintance between you and him, and nor any friendship.