The Book of Remembrances — Kitāb al-Adhkār
Remembrance 3 from Chapter 60
What to say when one intends to sleep and is lying in bed
Subḥāna-llāh, al-ḥamdu li-llāh, Allāhu akbar.
And we relate from the Ṣaḥīḥs of al-Bukhārī and Muslim from ‘Alī (رَضِيَ اللَّهُ عَنْهُ) who said that the Messenger of Allah (صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ) told him and Fāṭimah: “When you retire to bed or go to sleep, say Allah is greater thirty-three times, Glory be to Allah thirty-three times, and Praise be to Allah thirty-three times.” According to another report he said: “And make tasbīḥ thirty-four times” and in another “And make takbīr thirty-four times.” ‘Alī (رَضِيَ اللَّهُ عَنْهُ) said: “I have never missed it since the time I heard it from the Messenger of Allah (صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ).” “Not even on the night before the battle of Ṣiffīn?” he was asked. “Not even on the night of Ṣiffīn,” he replied. [3].