Hadith 14:158
Abu Bakr narrated to us, he said: Waki’ narrated to us, from Shu’bah, from ‘Amr ibn Murrah, from ‘Abdullah ibn Salamah, from ‘Ali, who said: I became ill, so the Prophet, peace and blessings of Allah be upon him, entered upon me while I was saying: "If my appointed time has arrived, then grant me rest; and if it is delayed, then heal me or grant me well-being; and if it is a trial, then grant me patience." He said: The Prophet, peace and blessings of Allah be upon him, said: "What did you say?" He said: So I repeated it to him. Then he wiped me with his hand and said: "O Allah, heal him or grant him well-being." And I did not complain of that pain after that.
حدثنا أبو بكر قال حدثنا وكيع عن شعبة عن عمرو بن مرة عن عبد الله بن سلمة عن علي قال اشتكيت فدخل علي النبي صلى الله عليه وسلم وأنا أقول إن كان أجلي قد حضر فأرحني وإن كان متأخرا فاشفني أو عافني وإن كان بلاء فصبرني قال فقال النبي صلى الله عليه وسلم كيف قلت قال فقلت له فمسحني بيده ثم قال اللهم اشفه أو عافه فما اشتكيت ذلك الوجع بعد