The Messenger of Allah (ﷺ) used to lay his head upon his right hand when going to sleep…

Jami` at-Tirmidhi Book 48 Hadith 30

Jami` at-Tirmidhi #3399

Chapters on Supplication 48:30

Al-Bara' bin `Azib (ra) narrated that:

The Messenger of Allah (ﷺ) used to lay his head upon his right hand when going to sleep, then say: “My Lord, safeguard me from Your punishment the Day You resurrect Your slaves (Rabbi qinī `adhābaka yawma tab`athu `ibādak).”

Chapter: Something Else: The Supplication: “O Allah, Safeguard Me from Your Punishment the Day that You Gather Your Slaves”

Grade: Sahih (Darussalam)