Reference : Hisn al-Muslim 104

اللّهُـمَّ قِنـي عَذابَـكَ يَـوْمَ تَبْـعَثُ عِبـادَك .
Allāhumma qinī `adhābaka yawma tab`athu `ibādak.

O Allah,1 save me from Your punishment on the Day that You resurrect Your slaves.2


Reference:
1 "When the Prophet (ﷺ) wanted to lie down to sleep, he used to place his 
right hand under his cheek and say..."
2 Abu Dawud 4/311. See also Al-Albani, Sahih At-Tirmidhi 3/143.

Chapter: Before sleeping