Mishkat al-Masabih 1564
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: رَأَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُوَ بِالْمَوْتِ وَعِنْدَهُ قَدَحٌ فِيهِ مَاءٌ وَهُوَ يُدْخِلُ يَدَهُ فِي الْقَدَحِ ثُمَّ يَمْسَحُ وَجْهَهُ ثُمَّ يَقُولُ: «اللَّهُمَّ أَعِنِّي عَلَى مُنْكَرَاتِ الْمَوْتِ أَوْ سَكَرَاتِ الْمَوْتِ» . رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ
From ʿAʾishah, may Allah be pleased with her, who said: I saw the Prophet ﷺ while he was dying. There was a cup of water beside him, and he would put his hand in the cup, then wipe his face, then say: "O Allah, help me through the hardships of death," or "the agonies of death." Reported by at-Tirmidhi and Ibn Majah.