Whenever any of us fell ill, the Messenger of Allah ﷺ would wipe the sick person with his right hand and say, "Remove the harm, Lord of mankind, and grant healing, for You are the Healer. There is no cure except Your cure, a cure that leaves no illness behind."When the Messenger of Allah ﷺ himself fell ill and his condition grew severe, I took his hand to do for him what he used to do for us, but he pulled his hand away from mine and said, "O Allah, forgive me and place me with the highest companions."She said, I looked at him, and he had already passed away.
كان رسول الله ﷺ إذا اشتكى منا إنسان مسحه بيمينه، ثم قال: أذهب الباس رب الناس واشف أنت الشافي لا شفاء إلا شفاؤك شفاء لا يغادر سقما، فلما مرض رسول الله ﷺ وثقل، أخذت بيده لأصنع به نحو ما كان يصنع فانتزع يده من يدي ثم قال: اللهم اغفر لي واجعلني مع الرفيق الأعلى قالت: فذهبت أنظر فإذا هو قد قضى.
Muslim narrated it in "Salam" (2191:46) through several routes from Jareer, from Amash, from Abu Duha, from Masruq, from Ayesha, and mentioned it. Bukhari narrated it in "Tibb" (5743) through another route from Amash, in an abridged form.