He went to Pilate, and begged the body of Jesus. Then Pilate commanded the body to be delivered.
Mark 15:44-46
44
And Pilate marvelled if he were already dead: and calling unto him the centurion, he asked him whether he had been any while dead.
45
And when he knew it of the centurion, he gave the body to Joseph.
46
And he bought fine linen, and took him down, and wrapped him in the linen, and laid him in a sepulchre which was hewn out of a rock, and rolled a stone unto the door of the sepulchre.