It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) passed by me while I was ill and was making this supplication: 'Allahumma in kana ajali qad hadara fa-arihni, wa in kana muta'akhkhiran farfa'ni, wa in kana bala'an fa-sabbirni' (O Allah, if the time of my death has come, then grant me rest; if it is still delayed, then remove this illness from me; and if it is only a trial, then grant me patience in it). He (peace and blessings be upon him) struck my chest with his blessed hand and said: 'Allahumma 'afihi washfihi' (O Allah, grant him well-being and cure him). Sayyiduna Ali (may Allah be pleased with him) said: After this supplication I never again suffered from that pain.
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 284
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده حسن . » «قال سعيد بن محمد السناري: ضعيف» «أخرجه سنن الترمذي برقم: 3564، وأخرجه مسند أحمد برقم: 843، وأخرجه المستدرك على الصحيحين برقم: 4297، وأخرجه الأحاديث المختارة برقم: 601، مسند ابویعلیٰ ترقیم الاثری: 279»