It is narrated from Sayyiduna Ala' bin Kharijah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Learn enough of your lineages to maintain your ties of kinship with them, for maintaining ties of kinship creates love among one's family, brings abundance to wealth, and extends one's lifespan."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15267