CTM80415 | Groups: group relief: avoidance
From HM Revenue & Customs · Company Taxation Manual
The provisions of to S751 inclusive (cancellation of advantages from certain transactions in securities) apply to group relief.
There is guidance about this at onwards.