In Spanish, you can say “que duermas bien” to wish someone a good night’s sleep.
This phrase is commonly used among friends and family when parting ways at night, conveying a sense of care and goodwill. The word “que” translates to “that” in English, and “duermas” is the subjunctive form of the verb “dormir,” which means “to sleep.” Finally, “bien” means “well.” So the phrase roughly translates to “that you sleep well,” serving as a warm wish for restful sleep.