The Messenger of Allah ﷺ said, "Whoever wishes to have his provision expanded and his lifespan extended, let him maintain ties with his relatives."
أن رسول الله ﷺ قال: من أحب أن يبسط له في رزقه، وينسأ له في أثره فليصل رحمه.
Bukhari related it in Adab (5986), and Muslim in Birr wa Silah (21:2557), both of them through Layth, who said, Aqeel bin Khalid told me, he said, Ibn Shihab said, Anas bin Malik informed me, then he related it.