It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever is pleased that Allah Almighty should lengthen his life, expand his provision and protect him from an evil death, let him fear Allah (adopt taqwa) and maintain the ties of kinship."
Hadith Referenceالمعجم الأوسط / باب الألف / 3014
Hadith Takhrij«أخرجه الضياء المقدسي فى «الأحاديث المختارة» برقم: 537، 538، والحاكم فى «المستدرك» برقم: 7373، وأحمد فى «مسنده» برقم: 1229، والبزار فى «مسنده» برقم: 693، والطبراني فى «الأوسط» برقم: 6881»