Sunan Ibn Majah – Hadith No : 1687

It wasnarrated that ‘Aishah said: “The Prophet (ﷺ) used to seekrefuge using the following words: ‘Adhhibil-ba’s, Rabbin-nas,washfiAntash-shafi, la shifa’a illa shifa’uka, shifa’an layughadiru saqaman(Take away the affliction, O Lord of mankind, andgrant healing, forYou are the Healer and there is no healing thatleaves no sickness).’When the Prophet (ﷺ) fell sick with thesickness that would be hislast, I took his hand and wiped it overhis body and recited thesewords. He withdrew his hand from mine andsaid: ‘O Allah, forgive meand let me meet the exalted companions(i.e., those who occupy highpositions in Paradise).’ Those werethe last words of his that Iheard.”

Hadith In Arabic Text :

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

Chapter : Chapters Regarding Funerals – كتاب الجنائز