Ropes & Gray and Linklaters have landed roles on the $2.4 billion sale of Mattress Firm Holdings Corp.—owner of Sleepy’s—to South Africa’s Steinhoff International Holdings NV.

The deal, announced Sunday, creates the world’s largest bedding giant and helps the Johannesburg-based acquirer move into the U.S. market. When including debt, Steinhoff’s purchase of Houston-based Mattress Firm is worth $3.8 billion.