A prisoner found himself in deep trouble  after attempting a Shawshank Redemption style escape from a jail through the communal toilet.

In the footage, the man is seen attempting to slither head first through the hole in the ground, his body completely covered in excrement.

As the man attempts to wriggle through the clogged sewerage pipes, two men grab hold of his legs and pull him back out of the hole.

Another shot shows the man covered from head to toe in poo after being returned to his prison cell.

It is thought the man was attempting to escape from a prison in Brazil but the exact location is not clear.