Radio Times reports that in the uncut version, terrorism is briefly mentioned during a conversation about wider threats to humanity.

Following the attack on Monday night, which saw 22 people killed and many left seriously injured after a suicide bomber detonated a device at the end of Ariana Grande’s concert, the BBC has taken the decision to edit out the scene.

‘Following the tragic events in Manchester, we have made a small edit to this week’s episode of Doctor Who,’ a statement said.

A scene has been taken out of the episode (Picture: BBC)

The episode – titled The Pyramid at the End of the World – follows the Doctor as he investigates a 5,000-year-old pyramid which has appeared in the middle of a war zone between China, Russia and the US.

Doctor Who stars Peter Capaldi (Picture: Simon Ridgway/BBC)

The Manchester bombing has also resulted in other schedule changes. The premiere for Sean Bean and Anna Friel’s new drama, Broken, has been pushed back by one week from Tuesday May 23 to Tuesday May 30.