«كان إذا نام وضع يده اليمنى تحت خده وقال: اللهم قني عذابك يوم تبعث عبادك»
It was the practice of the Prophet (peace and blessings be upon him):
"When he (peace and blessings be upon him) went to sleep, he would place his right hand under his cheek and make this supplication: O Allah, protect me from Your punishment on the Day You resurrect Your servants."
Hadith Referenceصحیح الجامع الصغیر / حرف الكاف / 4790
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[حم ت ن] عن البراء [حم ت] عن حذيفة [حم هـ] عن ابن مسعود. التعليق على الكلم الطيب ١٩، المشكاة ٢٤٠٠ - ٢٤٠٢.