No I don't think that was even mentioned so I dare say Ricky doesn't know.
I'd assume that she was aware of it. How could she not know at all?
On her first night in the Bay, didn't she tell Brax that she'd been visiting Jamie in prison? I also therefore assume that it's likely she knew.
But Jamie was arrested for trying to kill Heath (Heath, Brax, Kyle and Liam kidnapped Jamie and blackmailed Adam into admitting he told Jamie to kill Heath), I can't recall anyone saying he was in prison for stalking Leah. That's a thing in H&A, as soon as storyline finishes they don't repat it anymore.