ON THE SUBJECT OF WHAT IS TO BE SAID WHEN ONE APPROACHES DEATH; THE DEATH OF THE MESSENGER OF ALLAH, praise and peace be upon him H 924 "She, Lady Ayesha, wife of the Prophet, Mother of Believers, may Allah be pleased with her, heard the Prophet, praise and peace be upon him, say, as he rested against her in his last illness: 'O Allah, forgive me and have mercy on me and join me with the exalted Companion.'" R 924 Bukhari and Muslim with a chain up to Lady Ayesha wife of the Prophet, may Allah be pleased with her, Mother of Believers, who related that the Prophet, praise and peace be upon him, said this
باب مَا يقوله مَن أيس من حياته 911- عن عائشة رضي الله عنها ، قالت : سَمِعْتُ النبيَّ صلى الله عليه وآله وسلم وَهُوَ مُسْتَنِدٌ إلَيَّ ، يَقُولُ : "اللَّهُمَّ اغْفِرْ لِي وارْحَمْنِي ، وأَلْحِقْنِي بالرَّفِيقِ الأَعْلَى" متفقٌ عَلَيْهِ .