Steveland Barrow was ordered by a LA Superious Court to stay at least 100 yards away from the the "Diamonds" singer until the next court hearing, set for March 21.
Barrow was arrested for breaking into her neighbor's house, "removed various items from the home and slept in a bed thinking it was [Rihanna's]."
He reportedly claimed he had been invited to her home, and had composed "numerous pieces of poetry" for the singer.
The March 21 hearing will determine whether the restraining order will be made permanent.
Newt Gingrich fires back at Mandela backlash
N.J. man wakes up from 10-hour sleep with knife in back