This happened after Jesus’ resurrection:
“So the other disciples said to [Thomas], ‘We have seen the Lord,’ but he answered, ‘Unless I can see the holes that the nails made in his hands and can put my finger into the holes they made, and unless I can put my hand into his side, I refuse to believe.’
Eight days later the disciples were in the house again and Thomas was with them. The doors were closed, but Jesus came in and stood among them. ‘Peace be with you,’ he said.
Then he spoke to Thomas, ‘Put your finger here; look, here are my hands. Give me your hand; put it into my side. Do not be unbelieving any more but believe.’
Thomas replied, ‘My Lord and my God!’
Jesus said to him: You believe because you can see me. Blessed are those who have not seen and yet believe.
John 20: 25-29