Model Daphne Joy, who has said she is the mother of the recording artist's second child, has accused him of attacking her and destroying property in her apartment.
The rapper, whose real name is Curtis Jackson, has never publicly acknowledged fathering a child with Joy.
TMZ said a judge granted Joy's request for a protective order at Monday's hearing and instructed the hip-hop star to surrender all of his firearms.
The musician is due back in court next month, the celebrity news website said.
Celebrity Couples of 2014 [PHOTOS]