Allah's Messenger (ﷺ) went to bed one night; the rest of the hadith is the same.
Sahih Muslim Book 44, Hadith 62