Footage has emerged of Tory Lanez recording a verse for his new album from prison – before a riot disrupted the session.