Huzaifa bin Yaman reported,

When the Prophet ﷺ would lie down to sleep at night, he would place his hand under his cheek and say, "O Allah, in Your name I die and I live."When he awoke, he would say, "Praise be to Allah who has brought us back to life after causing us to die, and to Him is the resurrection."

Bukhari 6314

Sahih

حدثني موسى بن إسماعيل حدثنا أبو عوانة عن عبد الملك عن ربعي

عن حذيفة رضي الله عنه قال

كان النبي ﷺ إذا أخذ مضجعه من الليل وضع يده تحت خده ثم يقول اللهم باسمك أموت وأحيا وإذا استيقظ قال الحمد لله الذي أحيانا بعد ما أماتنا وإليه النشور

البخاري 6314صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Supplications
Chapter
Placing the right hand under the right cheek
Numbering
Darussalam 6314
Bukhari 6314