"When Mr Mathers asked him why he was there, he was told by Mr Hughes that he was there to kill him."
The man is said to have entered the house in Michigan by breaking a window near the kitchen, but Eminem's security team were not disturbed.
Instead, the rapper himself confronted the would-be intruder before alerting his security team and escorting him out of the property.
Eminem was not present for the hearing, but a lawyer acting for Hughes said he believed his client had a mental health issue.
The lawyer, Richard Glanda, said outside court: "In my opinion, I think there's some sort of mental issues involved here."
The case will continue at Macomb County Circuit court on 28 September.
In July, the 'Lose Yourself' hitmaker - whose real name is Marshall Mathers - gave fans his mobile number, which he had generated via social media platform Community so they could text him their burning questions.
He tweeted at the time: "Dear Stan, I meant to write you sooner, but I just been busy" text me, I'll hit you back 313-666-7440 #MMLP20 #DearSlim (sic)"
Stans are then sent a link on Community where they could type their message into a speech bubble.
They then receive a reply from Eminem, which reads: "Yo its Em, hit the link to get added to my contacts.
"I'll be back with the plans for next week! (sic)"