A New York judge yesterday ordered U.S. rapper 50 Cent not to sell the property where a fire destroyed his $2.4-million US home and where his ex-girlfriend lived with their son.

State Supreme Court Justice Carol Edmead also ordered the woman, Shaniqua Tompkins, to pay the rapper $4,500 in rent by Friday for staying in the house during its final month, lawyers for both sides said.

Tompkins sued 50 Cent, whose real name is Curtis Jackson, for half of his estate based on an oral agreement the two made early in their relationship, said Tompkins’ lawyer, Paul Catsandonis.

Tompkins was living in the Long Island home with their 10-year-old son until a fire broke out on May 30. Police said they were investigating the fire as suspicious.

Tompkins escaped through a window and six people, including children, were treated for smoke inhalation, Catsandonis said.