This Bible contradiction is from the Skeptic's Annotated Bible.
Verses
Before Jesus died.
Luke 23:45-46 View context
And the sun was darkened, and the veil of the temple was rent in the midst.
And when Jesus had cried with a loud voice, he said, Father, into thy hands I commend my spirit: and having said thus, he gave up the ghost.
After Jesus died.
Matthew 27:50-51 View context
Jesus, when he had cried again with a loud voice, yielded up the ghost.
And, behold, the veil of the temple was rent in twain from the top to the bottom; and the earth did quake, and the rocks rent;
Mark 15:37-38 View context
And Jesus cried with a loud voice, and gave up the ghost.
And the veil of the temple was rent in twain from the top to the bottom.