I heard the Messenger of Allah ﷺ say, "Whoever wishes for his provision to be expanded and his lifespan to be extended, let him maintain ties with his relatives."
سمعت رسول الله ﷺ يقول: من سره أن يبسط له في رزقه، وأن ينسأ له في أثره، فليصل رحمه.
Bukhari narrated it in Al-Adab (5985) from Ibrahim bin Munzir, who said, Muhammad bin Maen told us, who said, my father told me, from Saeed bin Abu Saeed, from Abu Hurairah, who mentioned it.