hassan-ibn-abdul-qadir:

Dua’a before sleeping

Whenever the Prophet (ﷺ) intended to go to bed, he would recite:

بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا

Bismika Allaahumma amutu wa ahya

(With Your name, O Allaah, I die and I live.)

— Sahih al Bukhari #6324

bintsameer:

Al-Hafidh Ibn Hajr رحمه الله:

Allaah makes a way out for His awaliya when they are trialed. However, He delays that exit for some of them, some of the time to purify and increase the reward for them.

[Fath al-Bari 6/483 | Source]