`Aishah (May Allah be pleased with her) reported:
While the Prophet (ﷺ) was reclining against me (during his last illness) I heard him saying: "Allahumma-ghfir li, warhamni, wa alhiqni bir Rafiqil-A`la (O Allah, forgive me, bestow Your Mercy on me and let me join with the exalted companions.''[Al-Bukhari and Muslim].
App reference: Book 7, Hadith 18
Arabic/English book reference: Book 7, Hadith 911