It is narrated from Hazrat Hafsa that when the Prophet (peace be upon him) would come to his bed, he would lie down placing his right hand under his right cheek, and then recite this supplication: "O Lord, save me from the punishment of the Day when You will gather Your servants." He would recite this supplication three times.