Спокойной ночи! (Spokoynoy nochi!)
This literally translates to "Good night!" but it's used in the same way as "sleep in peace" in English.
You can also say:
Спи спокойно! (Spi spokoino!) - which translates to "Sleep peacefully!"
Both phrases are appropriate for expressing condolences or wishing someone a peaceful night's sleep.