Ayesha reported,

The Messenger of Allah ﷺ used to seek protection with these words, "Remove the harm, Lord of mankind. Heal, for You are the Healer. There is no healing except Your healing, a healing that leaves no illness behind."When the Messenger of Allah ﷺ grew gravely ill during the sickness in which he died, I took his hand and began wiping him with it while reciting these words. He withdrew his hand from mine and said, "Lord, forgive me and join me with the highest company."Abu Muawiya said, She said, "These were the last words I heard from him."Ibn Jafar said that whenever the Prophet ﷺ visited a sick person, he would wipe him with his hand and say, "Remove."

Azami 3518

Sahih

عن عائشة قالت

كان رسول الله ﷺ يعوذ بهذه الكلمات: أذهب الباس رب الناس، اشف وأنت الشافي، لا شفاء إلا شفاؤك، شفاء لا يغادر سقما، فلما ثقل رسول الله ﷺ في مرضه الذي مات فيه، أخذت بيده فجعلت أمسحه بها وأقولها قالت: فنزع يده مني ثم قال: رب اغفر لي، وألحقني بالرفيق. قال أبو معاوية: قالت: فكان هذا آخر ما سمعت من كلامه. قال ابن جعفر: إن النبي ﷺ و كان إذا عاد مريضا مسحه بيده. وقال: أذهب.

الأعظمي 3518صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Dying person
Section
Prophet's ﷺ saying, "And let me join the highest companion"
Numbering
Jami al-Kamil 3518 (2nd edition)
Azami 3518