Rapper Tory Lanez, who was convicted over the 2020 shooting of Megan Thee Stallion, was hospitalised after getting attacked in a California prison, authorities said Monday.