Supplication before going to Bed Riyad as-Salihin 1459

Arabic hadith text
وعن علي رضي الله عنه أن رسول الله صلى الله عليه وسلم قال له ولفاطمة، رضي الله عنهما‏:‏ ‏"‏إذا أويتما إلى فراشكما، أو‏:‏ إذا أخذتما مضجعكما - فكبرا ثلاثًا وثلاثين، وسبحا ثلاثًا وثلاثين، واحمدا ثلاثًا وثلاثين‏"‏ وفي رواية‏:‏ التسبيح أربعًا وثلاثين‏"‏ وفي رواية‏:‏ ‏"‏التكبير أربعًا وثلاثين‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Translation
'Ali (May Allah be pleased with him) reported

The Messenger of Allah (ﷺ) said to me and to Fatimah (May Allah be pleased with her) (Ali's wife and the Prophet's daughter), "When you go to bed, recite: Takbir (Allahu Akbar) thirty-three times and Tasbih (Subhan-Allah) thirty-three times and Tahmid (Al-hamdu lillah) thirty-three times."Another narration is: The Messenger of Allah (ﷺ) said, "Recite Tasbih thirty-four times."Another narration is: The Messenger of Allah(ﷺ) said, "Recite Takbir thirty-four times."[Al-Bukhari and Muslim].