Maliks Muwatta Book 38, Hadith Number 7.

Section : Freeing Slaves who are Umm Walad and a General Chapter on Freeing.

Malik related to me that he had heard that a slave-girl came to Umar ibn al-Khattab (who had been beaten by her master with a red hot iron) and he set her free.

Malik said, “The generally agreed-on way of doing things among us is that a man is not permitted to be freed while he has a debt against him which exceeds his property. A boy is not allowed to be set free until he has reached puberty. The young person whose affairs are managed cannot set free in his property, even when he reaches puberty, until he manages his property.”