ENOfficial
Anas ibn Malik reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "Anyone who wants to have his provision expanded and his term of life prolonged should maintain ties of kinship."
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عَبْدُ اللهِ بْنُ صَالِحٍ قَالَ: حَدَّثَنِي اللَّيْثُ قَالَ: حَدَّثَنِي عَقِيلٌ، عَنِ ابْنِ شِهَابٍ قَالَ: أَخْبَرَنِي أَنَسُ بْنُ مَالِكٍ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم قَالَ: مَنْ أَحَبَّ أَنْ يُبْسَطَ لَهُ فِي رِزْقِهِ، وَأَنْ يُنْسَأَ لَهُ فِي أَثَرِهِ، فَلْيَصِلْ رَحِمَهُ.
sunnah.com