It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Indeed, charity and maintaining the ties of kinship (treating relatives well) are deeds through whose blessing Allah Almighty increases one's lifespan, through them He wards off an evil death, and through them Allah Almighty averts what is disliked and feared of calamities and hardships." Imam Abu Ya'la recorded this narration with a da'if (weak) chain, because one of its narrators, Yazid al-Raqashi, is weak; Imam al-Tirmidhi recorded it in abridged form and declared it hasan (good), and Imam Ibn Hibban recorded it in his Sahih.
Hadith Takhrij«ورواه أبو يعلى بسند ضعيف؛ لضعف يزيد الرقاشي، والترمذي مختصرا وحسنه، وابن حبان في صحيحه» «أخرجه مجمع الزوائد ومنبع الفوائد برقم: 13454، 13455»