"عَنْ عَلِىٍّ قَالَ: مَرِضْتُ مَرَّةً فَعَادَنِى رسُولُ الله ﷺ فَدَخَلَ وَأَنَا مُضْطَجِعٌ، فَأَتَى إِلَى جَنْبِى، فَسَجَّانِى بثَوْبِهِ، فلما رَآنِى قَدْ ضَعُفْتُ، قَامَ إِلَى الْمَسْجِدِ يُصَلِّى، فَلَمَّا قَضَى صَلَاتَهُ، جَاءَ فَرَفَعَ الثَّوبَ عَنِّى، ثُمَّ قَالَ: قُمْ يَا عَلِىُّ قَدْ بَرأتَ، فَقُمْتُ فَكَأنِّى ما اشتكيت، فَقَالَ: مَا سَألْتُ ربى شيئًا إلا أعطانى، وما سألت الله شيئًا إلا سَألْتُه لَكَ".
[Machine] I became sick and the Messenger of Allah ﷺ visited me. He entered upon me while I was lying down. He reclined beside me and covered me with his garment. When he saw that I had been cured, he went to the mosque to pray. After he finished his prayer, he came back and lifted the garment from me and said, "Get up, O Ali, for you have been healed." I got up as if I had never complained of anything before that. He then said, "I have never asked my Lord for anything in my prayer except that He gave it to me, and I have never asked for myself anything except that I asked it for you." Jafar al-Ahmar contradicted him and reported from Yazid ibn Abi Ziyad from Abdullah ibn al-Harith from Ali.
مَرِضْتُ فَعَادَنِي رَسُولُ اللهِ ﷺ فَدَخَلَ عَلَيَّ وَأنا مُضْطَجِعٌ فَاتَّكَأَ إِلَى جَنْبِي ثُمَّ سَجَّانِي بِثَوْبِهِ فَلَمَّا رَآنِي قَدْ هُدِيتُ قَامَ إِلَى الْمَسْجِدِ يُصَلِّي فَلَمَّا قَضَى صَلَاتَهُ جَاءَ فَرَفَعَ الثَّوْبَ عَنِّي وَقَالَ «قُمْ يَا عَلِيُّ فَقَدْ بَرِئْتَ فَقُمْتُ كَأَنَّمَا لَمْ أَشْتَكِ شَيْئًا قَبْلَ ذَلِكَ» فَقَالَ «مَا سَأَلْتُ رَبِّي شَيْئًا فِي صَلَاتِي إِلَّا أَعْطَانِي وَمَا سَأَلْتُ لِنَفْسِي شَيْئًا إِلَّا قَدْ سَأَلْتُ لَكَ» خَالَفَهُ جَعْفَرٌ الْأَحْمَرُ فَقَالَ عَنْ يَزِيدَ بْنِ أَبِي زِيَادٍ عَنْ عَبْدِ اللهِ بْنِ الْحَارِثِ عَنْ عَلِيٍّ