Ali bin Abu Talib reported,

I was ill, and the Messenger of Allah ﷺ passed by me while I was saying, "O Allah, if my appointed time has come, then grant me relief. If it is delayed, then raise me up. And if it is a trial, then grant me patience."The Messenger of Allah ﷺ asked, "What did you just say?"So he repeated to him what he had said.Then he struck him with his foot and said, "O Allah, grant him well-being," or "O Allah, heal him." Shuba was uncertain which.Ali said, I never suffered from that illness again after that.

Ahmad 841

Hasan

حدثنا محمد بن جعفر حدثنا شعبة عن عمرو بن مرة عن عبد الله بن سلمة

عن علي بن أبي طالب رضي الله عنه قال

كنت شاكيا فمر بي رسول الله ﷺ وأنا أقول اللهم إن كان أجلي قد حضر فأرحني وإن كان متأخرا فارفعني وإن كان بلاء فصبرني فقال رسول الله ﷺ كيف قلت فأعاد عليه ما قال قال فضربه برجله وقال اللهم عافه أو اللهم اشفه شك شعبة قال فما اشتكيت وجعي ذاك بعد

أحمد 841حسن
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 841
Ahmad 841