'It' doesn't make sense here. There is no indication what 'it' refers to.
Instead you can say, There will be prayer time when we finish doing warmups (no hyphen) so we will have to take a break for awhile (one word) to pray.
OR
We will have prayer time when we finish doing warmups...