Ala bin Kharija reported,

The Prophet ﷺ said, "Learn enough of your lineage to maintain ties with your relatives, for keeping family bonds brings love among kin and prolongs one's life."

Azami 1220

Hasan

عن العلاء بن خارجة

أن النبي ﷺ قال: تعلموا من أنسابكم ما تصلون به أرحامكم، فإن صلة الرحم محبة للأهل، ومنسأة للأجل.

الأعظمي 1220حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Encouragement to seek knowledge
Section
Encouragement to learn genealogies
Numbering
Jami al-Kamil 1220 (2nd edition)
Azami 1220