TMZ has obtained the restraining order against the woman accused of stalking Tyler Perry -- and the document is nothing short of shocking .... the alleged stalker saying Tyler is a candidate for murder.
As we first reported, Dawne Wilson was arrested for aggravated stalking Wednesday outside Perry's production studios in Atlanta ... a place where she's been an unwelcome visitor many times before.
The restraining order, obtained by TMZ, claims in March, 2008, Dawne Wilson began contacting Perry by computer "in a menacing manner," causing Perry to fear "apprehension of immediately receiving a violent injury."
According to the docs, in April, 2008, Wilson sent another e-mail saying "You need to check your heart condition because it is filled with murder....your love has been but costly and deadly....Murder I say is the verdict."
Wilson rambled on, "Why do you insist on assisting the devil?"
Wilson was taken into custody after showing up at Perry's recording studio last Wednesday, in violation of the restraining order.