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."
English reference: Vol. 1, Book 6, Hadith 1619
Arabic reference: Book 6, Hadith 1687