Rick Diamond / WireImage 1 / 9
Rick Diamond / WireImage 1 / 9

R&B singer Rihanna has obtained a restraining order against an overzealous fan who allegedly tried to break into her Los Angeles home last week.

Steveland Barrow was arrested on Thursday after he we was caught attempting to enter a mansion belonging to the singer's neighbor, mistaking it for Rihanna's residence. Barrow even slept in the master bedroom, according to multiple reports.

On Tuesday, Rihanna won a temporary protective order, barring Barrow, who has since been released from custody, from coming within 100 yards of the 25-year-old after citing concerns about her safety, according to TMZ.

MORE FROM WONDERWALL:

Celebs who've made makeup mistakes

Fashion don'ts

Christina Aguilera's worst looks