A judge in the southern city of Mthatha instructed Mandela’s eldest grandson Mandla to transfer the remains to Qunu by 3:00 pm (13:00 GMT) on Wednesday.
Mandla allegedly had the graves moved to Mvezo, about 30 kilometres (18 miles) away, without the rest of the family’s consent in 2011.
Mandela, who remains critically ill in what is now his fourth week in hospital, had expressed his wish to be buried in Qunu, and his daughters want to have the children’s remains transferred so they can be together.
Previously the grandson has argued that Mandela should be buried at his birthplace Mvezo, where Mandla holds court as clan chief.
The court order was issued in response to
“I now rule that the respondent complies with the order to return the remains by 3:00 pm on Wednesday,” said Judge Lusindiso Pakade.
The remains belonged to Mandela’s eldest son Thembekile who died in 1969, his nine-month-old infant Makaziwe who passed away in 1948, and Mandla’s own father Magkatho who died in 2005.