via Instagram / Drake

While Lil Wayne was locked up at Rikers Island in 2010, apparently Drake hooked up with his girlfriend.

TMZ obtained an excerpt from a book Weezy has been shopping, in which he recounts a story where he the Toronto rapper visited him in prison and confessed that he had slept with his girl.

“Yeah, it’s true. Don’t f*ck with her like that cause I did f*ck her,” Drizzy told Wayne.

Wayne writes, “This is the type of sh*t that a man never wants to find out when he’s locked up. Or, maybe so, cause only God knows what I would have done if I wasn’t locked up right now.”

Wayne goes on to say that the unnamed woman told him she had sex with Drake the day before they met.

“I woke up feeling f*cked up about the f*cked up day that I had … finding out that she f*cked Drake was the absolute worst thing I could’ve ever found out,” he writes. “As a man, honestly, that sh*t hurt … and not because it was Drake, it could have been any man. It would’ve hurt the same.”

After learning the news, Wayne says he was so depressed that he didn’t come out of his cell for days.