حَدَّثَنَا أَبُو خَيْثَمَةَ ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ ، عَنْ شُعْبَةَ ، عَنْ عَمْرِو بْنِ مُرَّةَ ، عَنْ عَبْدِ اللهِ بْنِ سَلِمَةَ ، عَنْ عَلِيٍّ ، مَرَّ بِي رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ وَأَنَا شَاكٍ ، وَأَنَا أَقُولُ : اللَّهُمَّ إِنْ كَانَ أَجَلِي قَدْ حَضَرَ فَأَرِحْنِي ، وَإِنْ كَانَ مُتَأَخِّرًا فَارْفَعْنِي ، وَإِنْ كَانَ بَلَاءً فَصَبِّرْنِي ، فَضَرَبَ بِيَدِهِ صَدْرِي ، وَقَالَ : اللَّهُمَّ عَافِهِ وَاشْفِهِ ، فَمَا اشْتَكَيْتُ وَجَعِي ذَلِكَ بَعْدُ .
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.